graphpype.pipelines.create_pipeline_nii_to_weighted_conmat

graphpype.pipelines.create_pipeline_nii_to_weighted_conmat(main_path, pipeline_name='nii_to_weighted_conmat', concatenated_runs=True, conf_interval_prob=0.05, mult_regnames=True, spm_reg=True)[source]

Pipeline from resid_ts_file (after preprocessing) to weighted connectivity matrices Involves a regressor file as wiehgt for computing weighted correlations

Parameters:
  • main_path: path where the analysis will be located

(base_dir of workflow) * pipeline_name (default = “nii_to_weighted_conmat”): name of the workflow that will be created for this analysis * concatenated_runs (default = True): If several sessions are contained in the same SPM.mat * conf_interval_prob (default = 0.05): default confidence interval value for thresholding connectivity matrix * mult_regnames (default = True): if reg_names is a list (instead of the instance of an iterable at the higher level) * spm_reg (default = True) : either use spm_mat_file or reg_txt (the latter containing directly the weighting use for computing

weighted correlation)

Inputs (inputnode):

  • resid_ts_file
  • spm_mat_file (from a typical SPM level1 activation analysis)
  • regress_names (names to look after in spm_mat_file)
  • run_index
  • ROI_labels_file
  • reg_txt (if spm_reg = False)

Comments:

Typically used after previous pipeline (create_pipeline_nii_to_conmat) and before conmat_to_graph pipeline