find_first_branch.default: find_first_branch.TreeStructs

View source: R/TreeStructs_methods.r

find_first_branch.TreeStructsR Documentation

find_first_branch.TreeStructs

Description

Finds the first branches of treestructs

Finds the first branch in a treestruct dataframe

Usage

## S3 method for class 'TreeStructs'
find_first_branch(obj, daughter_threshold = 0.25)

## Default S3 method:
find_first_branch(ts, daughter_threshold = 0.25)

Arguments

obj

Treestructs object

daughter_threshold

Proportion of the radius of the parent branch that daughter branches must attain for a furction to be counted as the first branch, Default: 0.25

ts

treestruct dataframe

Details

Returns NA if no significant furcations found

Returns NA if no significant furcations found

Value

internode_id of parent branch where first furcation occurs

internode_id of parent branch where first furcation occurs

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on June 11, 2025, 10:40 a.m.