readFlatROIs: Read flattened ROIs from a list of NIfTI files using a...

Description Usage Arguments Value

View source: R/RImaGen-functions.r

Description

Read flattened ROIs from a list of NIfTI files using a cluster of choice.

Usage

1
2
3
readFlatROIs(paths, ids, subFactor = 0, mask = NULL, method = c("FLIRT",
  "SUBSAMP2"), nCores = getOption("mc.cores", detectCores(logical = FALSE)),
  clType = "PSOCK", makeCluster = TRUE, userCluster = NULL)

Arguments

paths

A list of paths to the NIfTI files.

ids

A list of subject IDs.

subFactor

Downsampling factor.

mask

Image mask (a nifti object or an array).

method

Downsampling method.

nCores

number of cores to use. Default: all physical cores available

clType

cluster type. Default: PSOCK

makeCluster

logical. TRUE if a cluster should be made (default).

userCluster

Cluster to use specified by the user. If NULL and makeCluster is FALSE, a default cluster will be used.

Value

Array of chosen voxel intensities for all the subjects.


JakubBartoszewicz/RImaGen documentation built on May 8, 2017, 11:21 p.m.