sliceData {neuroim} | R Documentation |
extract a 2D slice from a BrainVolume
instance.
sliceData(vol, slice, axis = 3)
vol |
an |
slice |
the integer index of the slice to cut. |
axis |
the axis number (1, 2, 3) defining fixed axis of the 2D slice. |