help
help > Splitting runs in half in CONN
Aug 4, 2021 10:08 AM | Alfonso Nieto-Castanon - Boston University
Splitting runs in half in CONN
Dear Lillian,
There is no need to split neither the functional data nor the covariates to analyze separately the two halves of your run/session. In Setup.Conditions you may simply define two conditions, the first covering only the first half of your resting state session, and the second covering only the second half of your session (it will look something like in the attached example). After that you may simply analyze the data normally and CONN will compute all connectivity measures separately for each defined condition (and when you get to 2nd-level analyses you will be able to simply select and compare the FC values across the two conditions)
Best
Alfonso
Originally posted by omaomae:
There is no need to split neither the functional data nor the covariates to analyze separately the two halves of your run/session. In Setup.Conditions you may simply define two conditions, the first covering only the first half of your resting state session, and the second covering only the second half of your session (it will look something like in the attached example). After that you may simply analyze the data normally and CONN will compute all connectivity measures separately for each defined condition (and when you get to 2nd-level analyses you will be able to simply select and compare the FC values across the two conditions)
Best
Alfonso
Originally posted by omaomae:
Dear CONN community,
I have successfully imported my fmriprep preprocessed dataset into CONN using the GUI, including the QC transformed covariates. However, I would like to analyze the functional connectivity (FC) of each half of the entire run separately. That is, I wish to obtain the FC matrices per subject for the first half of the run, then separate FC matrices per subject for the second half of the run.
I understand that it is possible to split the functional scans by changing the 4D functional niftis into 3D, then recombining them into two separate 4D nifti files that reflect the first and second half of the run. However, I'm not sure how to do the same for the fmriprep covariates in the least cumbersome method (ie. I do not wish to edit each *confounds_regressors.tsv file manually). Could anyone advise me on how to split my fmriprep imported dataset; preferably by scripting?
Best,
Lillian
I have successfully imported my fmriprep preprocessed dataset into CONN using the GUI, including the QC transformed covariates. However, I would like to analyze the functional connectivity (FC) of each half of the entire run separately. That is, I wish to obtain the FC matrices per subject for the first half of the run, then separate FC matrices per subject for the second half of the run.
I understand that it is possible to split the functional scans by changing the 4D functional niftis into 3D, then recombining them into two separate 4D nifti files that reflect the first and second half of the run. However, I'm not sure how to do the same for the fmriprep covariates in the least cumbersome method (ie. I do not wish to edit each *confounds_regressors.tsv file manually). Could anyone advise me on how to split my fmriprep imported dataset; preferably by scripting?
Best,
Lillian
Threaded View
Title | Author | Date |
---|---|---|
omaomae | Aug 4, 2021 | |
omaomae | Aug 5, 2021 | |
Alfonso Nieto-Castanon | Aug 4, 2021 | |
omaomae | Aug 4, 2021 | |
Alfonso Nieto-Castanon | Aug 4, 2021 | |