get_branch: Get treestruct of children of internode

Description Usage Arguments Details Value

View source: R/QSM_funcs.r

Description

Get treestruct of children of internode

Usage

1
get_branch(ts, internode_id, row)

Arguments

ts

treestruct dataframe (not object)

internode_id

if this is provided, the id of the internode for which children are sought

row

if this is provided, the row number of the internode for which children are sought

Details

only one of internode_id and row arguments are required.

Value

treestruct comprised of of rows of internode children, including the row of the specified internode. Parent_rows are re-computed.


ashenkin/treestruct documentation built on Oct. 14, 2021, 1:54 a.m.