premask: Mask out voxels with constant time-series

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/premask.R

Description

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

Usage

1
premask(slicedata)

Arguments

slicedata

list(slicedata).

Details

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

Value

a list containing

yn

voxels values

kin

indices of voxels in mask

nreg

number of regressions

Author(s)

A. Ferreira da Silva, Universidade Nova de Lisboa, Faculdade de Ciencias e Tecnologia,
afs@fct.unl.pt.

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

1
2
3
4
5
6
## Not run: 
slicedata <- read.fmrislice(fbase="fmri", slice=3)
ymaskdata <- premask(slicedata)
print(str(ymaskdata))

## End(Not run)

cudaBayesreg documentation built on May 29, 2017, 6:19 p.m.