View source: R/summary.by.elements.R
summary.by.elements | R Documentation |
Calculate taxonomic disparity for all taxa represented in a tree, assuming that tip labels are pipe-delimited and the first part of the label is the taxon.
summary.by.elements(tr, returnEffectOnTreeLength = TRUE, minSizeForEffect = 3, ...)
tr |
The tree to be analyzed, of class |
returnEffectOnTreeLength |
A boolean determining whether each taxon's effect on tree length should be calculated and returned. Increases calculation time. |
minSizeForEffect |
The minimum number of individuals in a taxon to calculate its effect on tree length. |
... |
Arguments which can be passed to the function |
The default for returnEffectOnTreeLength
is TRUE
.
The default for minSizeForEffect
is 3, and any taxa
with less than 3 individuals is automatically assigned an
effect size of 0.
disparity.mat |
A matrix with taxa as rows and the number of individuals in each taxon, the expected number of tips from the taxon's most recent common ancestor, and the taxonomic disparity of the taxon as columns. |
effectSize |
A vector of the effects of each taxon on the tree length. Names of each effect size are the taxa with which they are associated. |
Andrew Hipp and Kasey Pham
label.elements
, tips.expected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.