find_first_branch.default: find_first_branch.TreeStructs

Description Usage Arguments Details Value Examples

View source: R/TreeStructs_methods.r

Description

Finds the first branches of treestructs

Finds the first branch in a treestruct dataframe

Usage

1
2
3
4
5
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

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

## End(Not run)

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