check.overlap {GoodFibes}R Documentation

Check if muscle fibers are redundant

Description

Determines whether muscle fibers are likely to be repeats. The function compares pairs of fibers and determines 1) whether they are within min.vox of each other, and 2) if the average distance between them stays less than min.vox. If so the longer fiber is kept and the redundant fiber is dropped.

Usage

check.overlap(fiber.list, min.vox, df = 2)

Arguments

fiber.list

A list containing elements with $fiber.points. Generated by good.fibes, fibers.smoothed, quality.check, or fuse.fibers.

min.vox

The distance between fibers in voxels (pixels) for fibers to be considered redundant

df

The degree of curvature for spline interpolation via splines::ns

Value

drop.fibers

the index for the redundant fibers to be removed

overlapping.fibers

a matrix with the compared fibers, the index of which were kept and which were removed in each comparison

fibers.removed

a list with fiber.points with the redundant fibers excluded

Author(s)

J. Arbour

References

Arbour, J. In Prep. GoodFibes: an R package for the detection of muscle fibers from diceCT scans.

See Also

fuse.fibers,quality.check,good.fibes


[Package GoodFibes version 0.1.10 Index]