powered by
phylosim
This function plots a phylosim object to visualize the behaviour of phylogenetic signal statistics for a given phylogenetic tree
# S3 method for phylosim plot( x, what = c("stat", "pval"), stacked.methods = FALSE, quantiles = c(0.05, 0.95), col = 1:5, legend = TRUE, ... )
a phylosim object.
what to represent on the plot. Can be the statistics used to measure the signal ("stat") or the p-values ("pval").
stat
pval
a logical. If different methods have been used, should they be plotted on the same graphic (TRUE) or not (FALSE, default).
TRUE
FALSE
a vector of two numeric values between 0 and 1 giving the minimum and the maximum quantiles to plot. Set to NULL to not plot quantiles.
NULL
a vector of colors for the different methods.
a logical. If stacked.methods is set to TRUE, should a legend be printed to differentiate the different methods?
stacked.methods
further arguments to be passed to or from other methods.
phyloSim.
phyloSim
if (FALSE) { data(navic) psim <- phyloSim(navic) plot(psim) plot.phylosim(psim, what = "pval", stacked.methods = TRUE) }
Run the code above in your browser using DataLab