Rconsense(trees, path=NULL, ...)
"phylo"
. For methods other than method = "strict"
, tree$node.label
contains the proportion of phylogenies in trees
containing that subtree.quiet
suppress some output to R console (defaults to quiet = FALSE
); method
which can be "extended"
(extended majority rule consensus, the default), "strict"
(strict consensus), or regular majority rule consensus ("majority"
); "outgroup"
single taxon label or vector of taxa that should be used to root all trees before analysis; rooted
logical value indicated whether to treat the input trees as rooted (defaults to rooted = FALSE
); and cleanup
remove PHYLIP input & output files after the analysis is completed (defaults to cleanup = TRUE
).
More information about the consense program in PHYLIP can be found here trees<-rmtree(n=10,N=10)
tree<-Rconsense(trees)
Run the code above in your browser using DataLab