buildBrcFmri: 'BrcFmri' Builder

Description Usage Arguments Details Value See Also

Description

buildBrcFmri is a helper function that quickly build a BrcFmri instance from a 4-dimensional matrix. Its main benefit is that it constructs all of the BrcFmri object's dependencies (a BrcParcellation and a data2d) for you. Here, the input data4d is a 4-dimensional matrix where the first 3 dimensions refer to the x, y, z coordinates and the 4th dimension refers to time.

Usage

1
buildBrcFmri(data4d, id = "")

Arguments

data4d,

the 4D fMRI matrix (x-direction x y-direction x z-direction x time)

id,

an ID string

Details

Along each 3-dimensional matrix indexed by time, each voxel corresponds to an x, y, z coordinate. An non-empty voxel is a voxel whose vector along the 4th-dimension (time) is all non-zero. buildBrcFmri assumes a singleton parcellation where each non-empty voxel is assigned its own parcel.

Value

a BrcFmri instance

See Also

BrcFmri, BrcParcellation


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