rpomponio / neuroHarmonize

Harmonization tools for multi-site neuroimaging analysis. Implemented as a python package. Harmonization of MRI, sMRI, dMRI, fMRI variables with support for NIFTI images. Complements the work in Neuroimage by Pomponio et al. (2019).
https://pypi.org/project/neuroHarmonize/
MIT License
79 stars 28 forks source link

Transpose confound-corrected data matrix before returning it #7

Closed AbdulkadirA closed 4 years ago

AbdulkadirA commented 4 years ago

The outputs bayes_data and s_data of harmonizationLearn() represent the same kind of data, once with and once without correction of confounds. Thus, these should also have the same shape. This PR will transpose s_data to have the same shape as bayes_data.