recluster.multi: Multiscale bootstrap based on consensus trees
Description
Given an initial tree and a data matrix, this function computes bootstrap for nodes as done by recluster.boot. Several levels of bootstrap can be computed by varying the number of levels and the step in increasing proportions of species sampled from the original matrix.
A reference phylo tree for sites presumably constructed with recluster.cons function.
mat
The matrix used to construct the tree.
phylo
An ultrametric and rooted phylo tree for species having the same labels as in mat columns. Only required for phylogenetic beta-diversity indexes.
tr
The number of trees to be included in the consensus.
p
A numeric value between 0.5 and 1 giving the proportion for a clade to be represented in the consensus tree.
dist
One among the twelve beta-diversity indexes "simpson" "sorensen" "nestedness" "beta3" "richness" "jaccard" "phylosor" "phylosort" "phylosorpd" "unifrac" "unifract" "unifractpd". Any custom binary dissimilarity can also be specified according
method
Any clustering method allowed by hclust.
boot
The number of trees used for bootstrap computation.
levels
The number of levels to be used in multiscale bootstrap.
step
The increase in ratio between the first level (x1) and the next ones.
Value
An object of the matrix format indicating percentage of bootstrap trees replicating each node for each level.
Details
Computation can be time consuming much more than for recluster.boot. It is suggested to assess the degree of row bias by recluster.hist and recluster.node.strength to optimize the number of required consensus trees before starting the analysis.
References
Dapporto L., Ramazzotti M., Fattorini S., Talavera G., Vila R., Dennis R.
"recluster: an unbiased clustering procedure for beta-diversity turnover"
Ecography (2013), 36:1070-1075.
www.unifi.it/scibio/bioinfo/recluster.html