Usage
visTreeBootstrap(data, algorithm = c("nj", "fastme.ols", "fastme.bal"),
metric = c("euclidean", "pearson", "spearman", "cos", "manhattan",
"kendall", "mi"), num.bootstrap = 100, consensus = FALSE,
consensus.majority = 0.5, reroot = "min.bootstrap",
plot.phylo.arg = NULL, nodelabels.arg = NULL, visTree = T,
verbose = T, ...)Arguments
data
an input data matrix used to build the tree.
The built tree describes the relationships between rows
of input matrix
algorithm
the tree-building algorithm. It can be
one of "nj" for the neighbor-joining tree estimation,
"fastme.ols" for the minimum evolution algorithm with
ordinary least-squares (OLS) fitting of a metric to a
tree structure, and "fastme.bal" for the minimum
evolu
metric
distance metric used to calculate a
distance matrix between rows of input matrix. It can be:
"pearson" for pearson correlation, "spearman" for
spearman rank correlation, "kendall" for kendall tau rank
correlation, "euclidean" for euclidean distance,
"manh
num.bootstrap
an integer specifying the number of
bootstrap replicates
consensus
logical to indicate whether to return
the consensus tree. By default, it sets to false for not
doing so. Note: if true, there will be no visualisation
of the bootstrapped tree
consensus.majority
a numeric value between 0.5 and
1 (or between 50 and 100) giving the proportion for a
clade to be represented in the consensus tree
reroot
determines if and how the bootstrapped tree
should be rerooted. By default, it is "min.bootstrap",
which implies that the bootstrapped tree will be rerooted
at the internal node with the miminum
bootstrap/confidence value. If it is an integer between 1
an
plot.phylo.arg
a list of main parameters used in
the function "ape::plot.phylo"
http://www.inside-r.org/packages/cran/ape/docs/plot.phylo.
See 'Note' below for details on the parameters
nodelabels.arg
a list of main parameters used in
the function "ape::nodelabels"
http://www.inside-r.org/packages/cran/ape/docs/nodelabels.
See 'Note' below for details on the parameters
visTree
logical to indicate whether the bootstrap
tree will be visualised. By default, it sets to true for
display. Note, the consensus tree can not be enabled for
visualisation
verbose
logical to indicate whether the messages
will be displayed in the screen. By default, it sets to
true for display
...
additional "ape::plot.phylo" parameters