Divides a molten 3D array in slices along a selected plane

slice_make(M, plane = "sagittal")

Arguments

M

a data frame molten from a 3D array in long format, with x, y and z columns as "Var1", "Var2", "Var3" and the value column containing the voxel annotation

plane

character, one of "sagittal", "coronal", or "axial". The plane along which to slice the array. Default is "sagittal"

Value

A list of lists of structures, one list per slice