X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fboot.phylo.Rd;h=6869f6724ced01aefe71cee3741b98f3f5463973;hb=ef34642fe85694df0a80ef534137b8f6b427b67e;hp=f0a650b44caa434854050f6b2cf900211dde7e76;hpb=21eb56120c84786502f24ff9c27b39d5badfe1f7;p=ape.git diff --git a/man/boot.phylo.Rd b/man/boot.phylo.Rd index f0a650b..6869f67 100644 --- a/man/boot.phylo.Rd +++ b/man/boot.phylo.Rd @@ -7,7 +7,8 @@ \alias{plot.prop.part} \title{Tree Bipartition and Bootstrapping Phylogenies} \usage{ -boot.phylo(phy, x, FUN, B = 100, block = 1, trees = FALSE) +boot.phylo(phy, x, FUN, B = 100, block = 1, + trees = FALSE, quiet = FALSE) prop.part(..., check.labels = TRUE) prop.clades(phy, ..., part = NULL) \method{print}{prop.part}(x, ...) @@ -25,6 +26,7 @@ prop.clades(phy, ..., part = NULL) together (see details).} \item{trees}{a logical specifying whether to return the bootstraped trees (\code{FALSE} by default).} + \item{quiet}{a logical: a progress bar is displayed by default.} \item{\dots}{either (i) a single object of class \code{"phylo"}, (ii) a series of such objects separated by commas, or (iii) a list containing such objects. In the case of \code{plot} further @@ -44,7 +46,9 @@ prop.clades(phy, ..., part = NULL) These functions analyse bipartitions found in a series of trees. \code{prop.part} counts the number of bipartitions found in a series - of trees given as \code{\dots}. + of trees given as \code{\dots}. If a single tree is passed, the + returned object is a list of vectors with the tips descending from + each node (i.e., clade compositions indexed by node number). \code{prop.clades} counts the number of times the bipartitions present in \code{phy} are present in a series of trees given as \code{\dots} or @@ -117,10 +121,11 @@ prop.clades(phy, ..., part = NULL) } \examples{ data(woodmouse) -tr <- nj(dist.dna(woodmouse)) +f <- function(x) nj(dist.dna(x)) +tr <- f(woodmouse) ### Are bootstrap values stable? for (i in 1:5) - print(boot.phylo(tr, woodmouse, function(xx) nj(dist.dna(xx)))) + print(boot.phylo(tr, woodmouse, f, quiet = TRUE)) ### How many partitions in 100 random trees of 10 labels?... TR <- replicate(100, rtree(10), FALSE) pp10 <- prop.part(TR)