Jfortin1 / ComBatHarmonization

Harmonization of multi-site imaging data with ComBat
268 stars 107 forks source link

train/test in R #34

Open Tibetan-eagle opened 3 years ago

Tibetan-eagle commented 3 years ago

Hi Jfortin1,

Thank you for this ComBat code. Just like someone pointed out earlier, I would like to be able to use ComBat in new test data as well but using the parameter of the training set, I would like to ask how can I do that in R since I am primarily using R for the purpose of radiomics study.

I really appreciate your time and effort.

pauldhami commented 8 months ago

Is there any suggestions as to how this can be implemented in the Matlab code? I know the neuroHarmonize module has it in Python, but would really like to perform everything in Matlab.