
Create a consensus tree from several hierarchical random graph models
Source:R/hrg.R
hrg.consensus.Rdhrg.consensus() was renamed to consensus_tree() to create a more
consistent API.
Arguments
- graph
The graph the models were fitted to.
- hrg
A hierarchical random graph model, in the form of an
igraphHRGobject.consensus_tree()allows this to beNULLas well, then a HRG is fitted to the graph first, from a random starting point.- start
Logical, whether to start the fitting/sampling from the supplied
igraphHRGobject, or from a random starting point.- num.samples
Number of samples to use for consensus generation or missing edge prediction.