recluster.plot {recluster} | R Documentation |
A plotter for recluster bootstrapped objects
Description
This function produces plots for recluster trees and assignes single or pairs of support values belonging to single or multiscale analyses.
Usage
recluster.plot(tree, data, low = 1, high = 0, id=NULL,
nodelab.cex=0.8, direction="downwards",...)
Arguments
tree |
A phylo tree presumably constructed with recluster.cons function. |
data |
A matrix belonging to recluster.multi. |
id |
A vector used to mark node supports (low and high) with different colours. Such classificarion is presumably made by recluster.identify.nodes. |
low |
The low scale level for which bootstrap values should be indicated in the tree. |
high |
The high scale level for which bootstrap values should be indicated in the tree. |
nodelab.cex |
the cex() parameter for controlling the size of the labels on the nodes (see |
direction |
the |
... |
Arguments to be passed to plot.phylo methods, see the ape package manual and |
Details
This function allows to print on a tree, one or two labels for bootstrap values and optimize their layout.
This is done with the nodelabels
ape function, by specifying the adj
parameters in the appropriate way.
Value
A plot representing the tree with pairs of bootstrap values, below (usually x1 BP above) and high, above.
Author(s)
Leonardo Dapporto and Matteo Ramazzotti
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.
Examples
data(datamod)
tree<-recluster.cons(datamod, tr=10)
boot<-recluster.boot(tree$cons,datamod, tr=10, boot=50)
recluster.plot(tree$cons,boot,direction="downwards")