look_at.Rd
Define what category to look at
look_at(
.array,
what = "voxels",
of_category,
in_relation_to = NULL,
kernel_width = 3,
kernel_shape = "diamond"
)
Array to analyze.
Either "voxels"
(default) or "components"
to look at
individual voxels or connected components.
Vector of categories to consider. If negative, these are omitted.
Vector of categories to consider for cross-category morphology. If negative, these are omitted.
Width of the kernel for determining connectivity. Can be a vector (row, column, layer). Not used when looking at voxels.
Shape of the kernel for determining connectivity. Can be
"diamond"
(default), "disc"
or "box"
. Not used when looking at
voxels.
Data frame (tibble) with x
, y
, z
and value
or component
columns.