powered by
access offspring data
offspring(.data, .node, tiponly, self_include, ...)# S3 method for tbl_tree offspring(.data, .node, tiponly = FALSE, self_include = FALSE, ...)
# S3 method for tbl_tree offspring(.data, .node, tiponly = FALSE, self_include = FALSE, ...)
offspring data
phylo or tbl_tree object
node number
whether only return tip nodes
whether include the input node, only applicable for tiponly = FALSE
additional parameters
Guangchuang Yu
library(ape) tree <- rtree(4) x <- as_tibble(tree) offspring(x, 4)
Run the code above in your browser using DataLab