imco: Inter-modal Coupling Model

Description Usage Arguments Value

View source: R/imco.R

Description

Implements full volumetric IMCo coupling estimation on a single subject

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
imco(
  files,
  brainMask,
  subMask = NULL,
  type = "pca",
  ref = 1,
  fwhm = 3,
  thresh = 0.005,
  radius = NULL,
  reverse = FALSE,
  verbose = TRUE,
  retimg = FALSE,
  outDir = NULL,
  propMiss = NULL
)

Arguments

files

Vector of full paths to images or a list of local nifti objects

brainMask

Full path to brain mask or local nifti object

subMask

NULL or local nifti object or the full path to a mask that is a subset of brain mask where coupling should be computed

type

"regression" or "pca"

ref

reference modality when type="pca" or dependent modality when type="regression"

fwhm

Full width in voxels for FWHM

thresh

Threshold for trimming Gaussian kernel weights

radius

radius of neighborhood in number of voxels. Can be specified instead of fwhm. Default is NULL and overrides fwhm when specified as non-NULL.

reverse

If TRUE, calculates both regressions if type="regression" and length(files)==2, otherwise ignored

verbose

TRUE for updates on computation, else FALSE

retimg

If TRUE, return list of estimated coupling maps as nifti objects

outDir

Full path to directory where maps should be written

propMiss

Maximum proportion of missing voxels in a neighborhood to tolerate, i.e., return NA if missing more than propMiss in the neighborhood of the center voxel

Value

Estimated IMCo coupling maps, either written to files and/or returned as nifti objects


neuroconductor/mimosa documentation built on June 5, 2020, 12:39 a.m.