node.label: extract the node label of phylo, treedata or tbl_tree
Description
extract the node label of phylo, treedata or tbl_tree
Usage
node.label(x, node = "internal", ...)
Value
label character vector.
Arguments
- x
object, should be one of treedata
,phylo
or tbl_tree
.
- node
character, to extract which type node label,
default is internal
, should be one of internal
,
external
, all
, tip
.
- ...
additional parameters.