View source: R/summaryStatistics.R
| sumStats | R Documentation |
Compute 84 summary statistics on the phylogeny. We split the summary statistics in 3 categories :
branch length, 25 summary statistics
topological, 8 summary statistics
LTT, 51 summary statistics These summary statistics are listed below.
sumStats(phylo)
phylo |
phylogeny (ape format) |
Branch length summary statistics:
| Variable | Description |
| height | phylogeny height |
| mean.all | mean of all branch lengths |
| median.all | median of all branch lengths |
| var.all | variance of all branch lengths |
| mean.ext | mean of external branch lengths |
| median.ext | median of external branch lengths |
| var.ext | variance of external branch lengths |
| mean.int1 | mean of internal branch lengths of part 1 |
| median.int1 | median of internal branch lengths of part 1 |
| var.int1 | variance of internal branch lengths of part 1 |
| mean.int2 | mean of internal branch lengths of part 2 |
| median.int2 | median of internal branch lengths of part 2 |
| var.int2 | variance of internal branch lengths of part 2 |
| mean.int3 | mean of internal branch lengths of part 3 |
| median.int3 | median of internal branch lengths of part 3 |
| var.int3 | variance of internal branch lengths of part 3 |
| mean.intext1 | mean.int1 / mean.ext |
| median.int1 | median.int1 / median.ext |
| var.int1 | var.int1 / var.ext |
| mean.intext2 | mean.int2 / mean.ext |
| median.int2 | median.int2 / median.ext |
| var.int2 | var.int2 / var.ext |
| mean.intext3 | mean.int3 / mean.ext |
| median.int3 | median.int3 / median.ext |
| var.int3 | var.int3 / var.ext |
Topological summary statistics:
| Variable | Description |
| colless | absolute difference in left and right tips, summed over int. nodes |
| sackin | depth summed over tips |
| widthdepth | ratio of maximal width over maximal depth |
| deltaw | maximal consecutive width difference |
| maxladder | maximal ladder size |
| inladder | proportion of nodes in ladder |
| imbalance | proportion of imbalanced nodes (i.e. colless !=0) |
| stair | ratio of tips on each side summed over internal nodes |
LTT summary statistics:
| Variable | Description |
LTT_slopei | slope of LTT i-th part in semilog scale (i in [1,10]) |
LTT_ti | i-th time coordinate of binned LTT (i in [1,20]) |
LTT_Ni | i-th lineage coordinate of binned LTT (i in [1,20]) |
| n_tips | phylogeny number of tips |
list
phylo <- createPhyloCRBD(100, list(lambda = 1, mu = 0.1)) sumStats(phylo) # compute its summary statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.