node.label: extract the node label of phylo, treedata or tbl_tree

View source: R/method-accessor.R

node.labelR Documentation

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", ...)

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.

Value

label character vector.


YuLab-SMU/tidytree documentation built on July 30, 2024, 8:07 p.m.