Learn R Programming

cudaBayesreg (version 0.3-6)

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 containingynvoxels valueskinindices of voxels in masknregnumber of regressions

concept

Mask fmri data

Details

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

References

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

See Also

cudaMultireg.slice, read.fmrislice

Examples

Run this code
slicedata <- read.fmrislice(fbase="fmri", slice=3)
ymaskdata <- premask(slicedata)
print(str(ymaskdata))

Run the code above in your browser using DataLab