Learn R Programming

neuroim (version 0.0.6)

sliceData: sliceData

Description

extract a 2D slice from a BrainVolume instance.

Usage

sliceData(vol, slice, axis = 3)

Arguments

vol
an BrainVolume instance
slice
the integer index of the slice to cut.
axis
the axis number (1, 2, 3) defining fixed axis of the 2D slice.