Extracts the total cylinder length from the treedata of a TreeQSM.
Arguments
- treedata
Treedata field of a TreeQSM that is returned by
read_tree_qsm
.
Examples
if (FALSE) {
# Read tree qsm and extract total cylinder length
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
tot_len <- total_cyl_length_qsm(treedata = qsm$treedata)
}