tidytree (version 0.4.6)

child: child

Description

access child data

Usage

child(.data, .node, ...)

# S3 method for tbl_tree child(.data, .node, ...)

Value

child data

Arguments

.data

phylo or tbl_tree object

.node

node number

...

additional parameters

Author

Guangchuang Yu

Examples

Run this code
library(ape)
tree <- rtree(4)
x <- as_tibble(tree)
child(x, 4)

Run the code above in your browser using DataLab