skelLength: Skeleton Length

View source: R/skelLength.R

skelLengthR Documentation

Skeleton Length

Description

Calculates the branch length of the topological skeleton and the average branch length per node.

Usage

skelLength(skel)

Arguments

skel

topological skeleton, output of readAmiraSkeleton

Value

edgeL

a vector of branch lengths, of length equal to the number of branches in the topological skeleton.

nodeL

a vector of average branch length per node, of length equal to the number of nodes in the topological skeleton.

Author(s)

Alessio Veneziano

References

Veneziano A, Cazenave M, Alfieri F, Panetta D, Marchi D. 2021. Novel strategies for the characterization of cancellous bone morphology: Virtual isolation and analysis. American Journal of Physical Anthropology.

Examples

#Calculate branch length of a topological skeleton
data(exampleSkeleton)
len<-skelLength(exampleSkeleton)


AlessioVeneziano/IndianaBones documentation built on Dec. 2, 2022, 7:35 a.m.