getSubtree: getSubtree

getSubtreeR Documentation

getSubtree

Description

Get all children of node from tree, including start_node.

Usage

getSubtree(tree, node)

Arguments

tree

ape phylo tree object

node

is the tree node id from which the tree is derived.

Value

list of all child node id's from starting node.


YuLab-SMU/ggtree documentation built on Nov. 3, 2024, 4:15 p.m.