If I want to perform batch correction on cross-study research (e.g., 10 studies) with the ultimate goal of obtaining a corrected data matrix, theoretically, the choice of different studies as the test set will influence the corrected data obtained through dmc.transform(X_with_batch). So, how should I determine the final corrected data matrix?
If I want to perform batch correction on cross-study research (e.g., 10 studies) with the ultimate goal of obtaining a corrected data matrix, theoretically, the choice of different studies as the test set will influence the corrected data obtained through dmc.transform(X_with_batch). So, how should I determine the final corrected data matrix?