ddmra.analysis
.qcrsfc_analysis
- qcrsfc_analysis(mean_qcs, corr_mats)[source]
Perform quality-control resting-state functional connectivity analysis.
- Parameters
mean_qcs (numpy.ndarray of shape (n_subjects,)) – QC measure (typically mean framewise displacement) across participants.
corr_mats (numpy.ndarray of shape (n_subjects, n_edges)) – Z-transformed correlation coefficients for ROI-ROI pairs. n_edges is the unique ROI-to-ROI edges, not including self-self edges. These coefficients must be sorted according to ascending distance along the second axis.
- Returns
qcrsfc_zs (numpy.ndarray of shape (n_edges,)) – Z-transformed correlation coefficients for ROI-ROI pairs.
Notes
The basic process for the QC:RSFC analysis is:
Average QC values within each participant.
Correlate the mean QC values with z-transformed correlation coefficients across participants, for each ROI-ROI pair.
Z-transform the edge-wise correlation coefficients.