assembleBlocks: assemble image blocks of bold

Description Usage Arguments Value Author(s) Examples

View source: R/assembleBlocks.R

Description

Assembles the bold study from raw block data

Usage

1
2
3
assembleBlocks(bmask, aalimg, labs, datadir, imagepostfix,
  assembledDesignOutPrefix, assembledImageOutPrefix, dmat, usedesignrow,
  imat = NA, ncompcor = 6, zscore = TRUE, spatialsmooth = 0)

Arguments

bmask

brain mask - compcor is done within this mask

aalimg

a label image - does not have to be aal

labs

which labels of the above label image to use e.g. c(1,2,3)

datadir

the input data directory

imagepostfix

the image blocks postfix e.g. motioncorr.nii.gz

assembledImageOutPrefix

output file name for assembled bold file - will be read if it already exists (rather than reassembled)

usedesignrow

organizational boolean tracking which parts of the design file have concurrent BOLD images, useful for sanity checks

imat

the current estimate of the assembled image matrix

zscore

should we zscore each voxel?

assembledBlocksOutPrefix

output file name for assembled design file - will be read if it already exists (rather than reassembled)

spatialsmoothing

scalar value greater than or equal to zero that controls voxel-wise smoothing in 4D

Value

list is output containing organizational variables for design matrix

Author(s)

Avants BB, Phillips JS

Examples

1
2
3
4
## Not run: 
assembly2<-assembleBlocks( bmask, aalimg, labs, datadir, imagepostfix,  dfn, afn, dmat, usedesignrow, imat )

## End(Not run)

stnava/RKRNS documentation built on Aug. 26, 2017, 9:55 a.m.