Open gkiar opened 3 years ago
Note to whoever tackles this feature: You'll probably want to add linux_openmp_64/3dNetCorr
to dev/docker_data/required_afni_pkgs.txt to have 3dNetCorr
available in the image
Regarding implementing both 1 and 2, @gkiar - any suggestions on how to name them and present them as options in the pipe config?
Even this would work:
correlation_matrix:
using: ['AFNI', 'Nilearn']
We probably want connectivity_measure
and connectivity_implementation
.
For measure we support Pearson
, Spearman
, and maybe MGC
(all eventually, just Pearson
for now is great).
For implementation, exactly as you said, AFNI
or Nilearn
Okay, so I'm picturing:
connectivity_matrices:
using: ['AFNI, 'Nilearn']
measure: ['Pearson', 'Spearman', 'MGC'] # (eventually)
And for now, since only Pearson
:
connectivity_matrices:
using: ['AFNI, 'Nilearn']
Love it. Do we want matrix
or matrices
? Maybe even just connectivity
to avoid ambiguity surrounding plurality?
Are these matrices exclusively from timeseries outputs, or also from SCA outputs?
Are these matrices exclusively from timeseries outputs, or also from SCA outputs?
Timeseries outputs, as those are the "raw" (but preprocessed) time series for each parcel.
In #1595 right now we're setting https://github.com/FCP-INDI/C-PAC/blob/f9e6bfaefbd295e5d007969c69e06b1ffe83d83c/dev/docker_data/default_pipeline.yml#L1488-L1496 like https://github.com/FCP-INDI/C-PAC/issues/1559#issuecomment-947085618, but would
timeseries_extraction:
# Options:
# ['AFNI', 'Nilearn']
using:
connectivity_matrix:
# Create a connectivity matrix from timeseries data
# Options:
# ['Pearson', 'Partial', 'Spearman']
measure:
make more sense? Then we'd output separate *.timeseries.1D
files for AFNI and Nilearn if both are selected and make the connectivity matrices based on those
Related problem
n/a
Proposed feature
I want to automatically generate FCC matrices at the end of my preprocessing. There are several ways to do this without adding dependencies within the CPAC environment and stack:
Acceptance criteria
Here are example implementations for each of those solutions:
Alternatives
No response
Additional context
No response