xcp_d.workflows.connectivity.init_functional_connectivity_cifti_wf
- xcp_d.workflows.connectivity.init_functional_connectivity_cifti_wf(output_dir, min_coverage, mem_gb, omp_nthreads, name='connectivity_wf')[source]
Extract CIFTI time series.
- Workflow Graph
- Parameters:
output_dir (
str
) – Path to the output directory forxcp_d
derivatives. This should not include thexcp_d
folder. For example, “/path/to/dset/derivatives/”.min_coverage (
float
) – Coverage threshold to apply to parcels in each atlas. Any parcels with lower coverage than the threshold will be replaced with NaNs. Must be a value between zero and one. Default is 0.5.mem_gb (
float
) – Memory limit, in gigabytes.omp_nthreads (
int
) – Maximum number of threads an individual process may use.name (
str
, optional) – Name of the workflow. This is used for working directories and workflow graphs. Default is “connectivity_wf”.
- Inputs:
name_source (
str
) – Path to the file that will be used as thesource_file
for derivatives. This is generally the preprocessed BOLD file. This file does not need to exist (e.g., in the case of a concatenated version of the filename).denoised_bold – Clean CIFTI after filtering and nuisance regression. The CIFTI file is in the same standard space as the atlases, so no transformations will be applied to the data before parcellation.
- Outputs:
atlas_names (
list
ofstr
) – A list of atlases used for parcellating the BOLD data. The list of atlas names is generated byxcp_d.utils.atlas.get_atlas_names()
. The atlases include: “Schaefer117”, “Schaefer217”, “Schaefer317”, “Schaefer417”, “Schaefer517”, “Schaefer617”, “Schaefer717”, “Schaefer817”, “Schaefer917”, “Schaefer1017”, “Glasser”, “Gordon”, and “subcortical” (Tian). Used for indexingtimeseries
andcorrelations
.timeseries (
list
ofstr
) – List of paths to atlas-specific time series TSV files. These time series are produced from thecensored_denoised_bold
outputs.timeseries_ciftis (
list
ofstr
) – List of paths to atlas-specific time series CIFTI (ptseries) files. These time series are produced from thecensored_denoised_bold
outputs.correlations (
list
ofstr
) – List of paths to atlas-specific ROI-to-ROI correlation TSV files. These correlations are produced from thetimeseries
outputs.correlation_ciftis (
list
ofstr
) – List of paths to atlas-specific ROI-to-ROI correlation CIFTI (pconn) files. These correlations are produced from thetimeseries_cifti
outputs.coverage (
list
ofstr
) – List of paths to atlas-specific coverage TSV files.coverage_ciftis (
list
ofstr
) – List of paths to atlas-specific coverage CIFTI (pscalar) files.