dual_reg | R Documentation |
Dual Regression
dual_reg( BOLD, GICA, scale = c("global", "local", "none"), scale_sm_xifti = NULL, scale_sm_FWHM = 2, detrend_DCT = 0, center_Bcols = FALSE, normA = FALSE )
BOLD |
Subject-level fMRI data matrix (V \times T). Rows will be centered. |
GICA |
Group-level independent components (V \times Q) |
scale |
|
scale_sm_xifti, scale_sm_FWHM |
Only applies if |
detrend_DCT |
Detrend the data? This is an integer number of DCT bases
to use for detrending. If |
center_Bcols |
Center BOLD across columns (each image)? This
is equivalent to performing global signal regression. Default:
|
normA |
Scale each IC timeseries (column of A) in the dual
regression estimates? Default: |
A list containing the subject-level independent components S (V \times Q), and subject-level mixing matrix A (TxQ).
nT <- 30 nV <- 400 nQ <- 7 mU <- matrix(rnorm(nV*nQ), nrow=nV) mS <- mU %*% diag(seq(nQ, 1)) %*% matrix(rnorm(nQ*nT), nrow=nQ) BOLD <- mS + rnorm(nV*nT, sd=.05) GICA <- mU dual_reg(BOLD=BOLD, GICA=mU, scale="local")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.