get_branch: Get treestruct of children of internode

View source: R/QSM_funcs.r

get_branchR Documentation

Get treestruct of children of internode

Description

Get treestruct of children of internode

Usage

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 June 11, 2025, 10:40 a.m.