Description Usage Arguments Details Value
Given a BrcFmri
instance (fmri
) and BrcParcellation
instance (parcellation
), applyMask
intersects fmri
by parcellation
. This means all the voxels in parcellation
's
that were 0 will be zero-ed out in fmri
(i.e., the partition of
that voxel will be set to 0). If no elements of any partition originally
in fmri
exist anymore after this procedure, its corresponding
column in fmri
will be removed. On the flip side, if there were
voxel in parcellation
that were non-zero, but its corresponding
voxel in fmri
is empty, the voxel will be assigned an entirely
new parcellation in the output of applyMask
, and its corresponding
column in fmri$data2d
will be the column of all 0's.
1 | applyMask(fmri, parcellation)
|
fmri |
the |
parcellation |
the |
Here, fmri
and parcellation
must have the same size.
We call this procedure applying a mask because this procedure does not
respect the partitioning in parcellation
. It only takes into account
which voxels are zero and non-zero in parcellation
.
a new BrcFmri
instance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.