CIFTItoFC.Rd
Extracting FC matrices from CIFTI files
CIFTItoFC(
path = "./",
wb_path = "/home/junhong.yu/workbench/bin_rh_linux64",
dtseries = "_space-fsLR_den-91k_desc-denoised_bold.dtseries.nii",
concat_subj = TRUE,
atlas = 200,
filename = "FC.rds"
)
The filepath to directory containing the subject folders. Set to ./.
by default.
The filepath to the workbench folder that you have previously downloaded and unzipped. Set to /home/junhong.yu/workbench/bin_rh_linux64
by default
The filename extension of the fMRI volumes. Set to _space-fsLR_den-91k_desc-denoised_bold.dtseries.nii
by default
When set to TRUE
(default), timeseries data from multiple runs/sessions of the same subject is first Z-scaled and then concatenated into a single larger timeseries data frame before computing the FC.
The version (number of parcels) of the Schaefer atlas; it has to be in multiples of 100, from 100 to 1000. set to 200
by default. The specified atlas template will be automatically downloaded from here if it does not exist in the current directory.
Filename of the concatenated FC vector file. Set to FC.rds
by default
outputs N (number of subjects) x E (number of unique) matrices as a .rds file
This function extracts FC matrices from CIFTI volumes postprocessed with XCP_d
if (FALSE) { # \dontrun{
CIFTItoFC(wb_path="bin_windows64/",dtseries="_ses-0._task-rest_acq-.._run-0._space-fsLR_den-91k_desc-denoised_bold.dtseries.nii",atlas = 200,filename="test.RDS")
} # }