recluster.plot: A plotter for recluster bootstrapped objects

Description Usage Arguments Details Value Author(s) References Examples

Description

This function produces plots for recluster trees and assignes single or pairs of support values belonging to single or multiscale analyses.

Usage

1
2
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 ?nodelabels).

direction

the direction parameter for controlling the orientation of the plot, see the ape package manual and ?plot.phylo. This parameters also controls the display of the labels on nodes.

...

Arguments to be passed to plot.phylo methods, see the ape package manual and ?plot.phylo.

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

1
2
3
4
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")

recluster documentation built on July 27, 2020, 1:15 a.m.