data2dTo4d: Convert a 2D fMRI data matrix to a 4D fMRI array

Description Usage Arguments Value See Also

Description

The 2D data matrix's dimensions are time x voxels. It is suitable for statistical analysis. The 4D data matrix's dimensions are length x width x height x time. it is suitable for visualization.

Usage

1
data2dTo4d(mat2d, parcellation)

Arguments

mat2d

the 2D fMRI data matrix (which will usually come from BrcFmri$data2d.)

parcellation

a BrcParcellation instance (which will usually come from BrcFmri$parcellation).

Value

a 4D array containing the series of fMRI volumes.

See Also

data4dTo2d, the inverse function


cdgreenidge/brcbase documentation built on May 13, 2019, 2:40 p.m.