View source: R/basic_metrics_qsm.R
total_branch_length_qsm | R Documentation |
Extracts the total branch length from the treedata of a TreeQSM.
total_branch_length_qsm(treedata)
treedata |
Treedata field of a TreeQSM that is returned by
|
The total branch length of the TreeQSM in meters.
## Not run:
# Read tree qsm and extract total branch length
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
branchlen <- total_branch_length_qsm(treedata = qsm$treedata)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.