Description Usage Arguments Value Author(s) Examples
View source: R/tree-utilities.R
calculate total number of nodes
1 2 3 | getNodeNum(tree)
Nnode2(tree)
|
tree |
tree object |
number
Guangchuang Yu
1 2 | getNodeNum(rtree(30))
Nnode2(rtree(30))
|
Registered S3 method overwritten by 'treeio':
method from
root.phylo ape
treeio v1.14.3 For help: https://yulab-smu.top/treedata-book/
If you use treeio in published research, please cite:
LG Wang, TTY Lam, S Xu, Z Dai, L Zhou, T Feng, P Guo, CW Dunn, BR Jones, T Bradley, H Zhu, Y Guan, Y Jiang, G Yu. treeio: an R package for phylogenetic tree input and output with richly annotated and associated data. Molecular Biology and Evolution 2020, 37(2):599-603. doi: 10.1093/molbev/msz240
[1] 59
[1] 59
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.