Cleans the QSM in an object of class
aRchi by removing branches that have a disproportionate lower radius than their siblings.
1 2 3 4
an object of class
numeric. The proportion of the largest daughter diameter (between 0 and 1) under which a branch is removed.
logical (default = FALSE). Show the results in a 3d plot if
This cleaning is done by browsing the tree QSM from the base to the top. Each time a ramification point is encountered a daughter branch is removed if its radius is lower than a selected (i.e
threshold) proportion of radius of the largest daughter. This allows removing small branches on large branches that can be for example traumatic or epicormic shoots or false branches due to noise in QSM. In
ForkRate function the same approach is used with a
threshold of 75% (i.e 0.75) to count the number of fork and compute the fork rate.
An object of class
aRchi with the cleaned QSM.
1 2 3 4 5 6 7
# Read an aRchi file with a QSM and paths tables. file=system.file("extdata","Tree_1_aRchi.aRchi",package = "aRchi") Tree1_aRchi=read_aRchi(file) # Clean the QSM: threshold of 0.5 Cleaned_Tree1_aRchi=Clean_QSM(Tree1_aRchi,threshold = 0.5,plotresult = TRUE) # show the cleaned QSM data.table get_QSM(Cleaned_Tree1_aRchi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.