Entering edit mode
9.7 years ago
chengzhao41
▴
110
I want to know how I can apply ComBat on the training and test set, if I do not have the labels for test set.
I want to know how I can apply ComBat on the training and test set, if I do not have the labels for test set.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
What exactly do you mean by training and test sets in this context? You run Combat on a group of samples with a known batch-effect and experimental design.
ComBat requires as input a model matrix for outcome of interest, but I only have it for the trianing set and not the test set.
There are no training and test sets with Combat. There is only a single set of data.
Yes I want to use ComBat to combine training and test set, which are 2 batches, into 1 single set of data. But I do not have the outcome of interest for the test set (2nd batch).