getSubtreeUnrooted.df: getSubtreeUnrooted

getSubtreeUnrooted.dfR Documentation

getSubtreeUnrooted

Description

Get all subtrees of node, as well as remaining branches of parent (ie, rest of tree structure as subtree) return named list of subtrees with list name as starting node id.

Usage

getSubtreeUnrooted.df(df, node)

Arguments

df

tree data.frame

node

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

Value

named list of subtrees with the root id of subtree and list of node id's making up subtree.


GuangchuangYu/ggtree documentation built on Oct. 31, 2024, 10:10 a.m.