Rtreedist(trees, method=c("branch.score","symmetric"), path=NULL, ...)
distances = "all"
and distances = "all.1to2"
, or a named vector for distances = "adjacent"
and distances = "corresponding"
.quiet
suppress some output to R console (defaults to quiet = FALSE
); trees2
object of class "multiPhylo"
or "phylo"
- if two sets of trees are to be compared; rooted
logical value indicating whether trees should be treated as rooted (defaults to rooted = FALSE
); distances
argument telling treedist which distances to compute - could be "all"
(all pairwise in trees
), "all.1to2"
(all in trees
by all in trees2
), "adjacent"
(adjacent species in trees
only), and "corresponding"
(all corresponding trees in trees
and trees2
); and cleanup
remove PHYLIP input & output files after the analysis is completed (defaults to cleanup = TRUE
).
More information about the treedist program in PHYLIP can be found here trees<-rmtree(n=10,N=10)
D<-Rtreedist(trees,method="symmetric")
Run the code above in your browser using DataLab