Learn R Programming

cudaBayesreg (version 0.2-1)

premask: Mask out voxels with constant time-series

Description

premask applies a pre-defined mask to a fMRI slice in order to select regions of interest (ROIs) for processing

Usage

premask(slicedata)

Arguments

Value

a list containingympixel values to retainkinindices of voxels in mask

concept

Mask fmri data

Details

Mask out fMRI nifti data as read by cudaBayesreg::read.fmrisample(slice). Pixels with constant time series are masked out.

References

package="AnalyzeFMRI", FSL/FEAT Analysis tool, FMRIB Software Library (FSL) (www.fmrib.ox.ac.uk/fsl)

See Also

cudaMultireg.slice read.fmrisample

Examples

Run this code
slicedata <- read.fmrisample(slice=3)
ymask <- premask(slicedata)
print(str(ymask))

Run the code above in your browser using DataLab