writeSamples(x, batchID, fileName)
x
. The batch ID of the data sets composing the matrix x
should be in the same order of the component data sets.
x
. The batch id in the second column can be an integer or the name of the data set. The batch id must be the same for all samples or arrays of a data set.
writeGeno,ComBat