Learn R Programming

cudaBayesreg (version 0.3-16)

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

slicedata
list(slicedata).

Value

a list containing
yn
voxels values
kin
indices of voxels in mask
nreg
number of regressions

Details

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

References

Adelino Ferreira da Silva (2011). cudaBayesregData: Data sets for the examples used in the package cudaBayesreg, R package version 0.3-10. URL http://CRAN.R-project.org/package=cudaBayesregData.

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

See Also

cudaMultireg.slice, read.fmrislice

Examples

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

Run the code above in your browser using DataLab