getNodeNum: getNodeNum

Description Usage Arguments Value Author(s) Examples

View source: R/tree-utilities.R

Description

calculate total number of nodes

Usage

1
2
3
getNodeNum(tree)

Nnode2(tree)

Arguments

tree

tree object

Value

number

Author(s)

Guangchuang Yu

Examples

1
2

Example output

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

treeio documentation built on Nov. 21, 2020, 2:01 a.m.