gen_groupPC | R Documentation |
This function computes subject-level principal components (PCs) from fMRI data and performs a group-level PCA for dimension reduction, designed for cortical surface fMRI data in BIDS format.
gen_groupPC(
bids_path,
subj_list,
n.comp = 30,
ncore = 1,
npc = 85,
iter_std = 5,
brainstructures = c("left", "right"),
verbose = TRUE
)
bids_path |
A character string specifying the root directory of the BIDS-formatted dataset. |
subj_list |
A named list generated from |
n.comp |
An integer specifying the number of components to retain during group-level PCA. Default is 30. |
ncore |
An integer specifying the number of cores to use for parallel processing. Default is 1. |
npc |
An integer specifying the number of components to retain during subject-level PCA. Default is 85. |
iter_std |
An integer specifying the number of iterative standardization steps to apply to fMRI data. Default is 5. |
brainstructures |
A character vector specifying the brain structures to include in the analysis. Options are |
verbose |
A logical value indicating whether to print convergence information during execution. Default is |
NOTE: This function requires the ciftiTools
package to be installed, and set up the path to the Connectome Workbench folder by ciftiTools.setOption()
. See the package ciftiTools
documentation for more information.
A numeric matrix containing the group-level principal components, with dimensions determined by the number of retained components (n.comp
) and the concatenated data across all subjects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.