extractData: Extract data or residuals from a fmridata object

Description Usage Arguments Details Value Author(s) See Also

View source: R/io.R

Description

The function extracts data stored as raw within an object of class 'fmridata'.

Usage

1
2
3
extractData(z, what = "data", maskOnly = FALSE)
expandfMRI(z)
condensefMRI(z, mask)

Arguments

z

an object of class 'fmridata'

what

either "data" or "residuals".

maskOnly

logical: if TRUE only values within the brain mask will be returned.

mask

logical brain mask

Details

The function extractData extracts data stored as raw within an object of class 'fmridata'. Functions expandfMRI and condensefMRI change the way data and residuals are stored between full 3D data and data within a brain mask. condensefMRI can also be used to set a more restrictive brain mask.

Value

In case of function extractData an array of dimension data$dim containing either the fmri-data or residuals. The other two functions return an object of class 'fmridata'.

Author(s)

Joerg Polzehl polzehl@wias-berlin.de

See Also

fmri.lm


neuroconductor/fmri documentation built on May 20, 2021, 4:28 p.m.