Hi
I have had my first go using COMBAT to correct for batch effects in our data. I did quantile normalisation first. I am wondering what the prior plots mean that are outputted, could anyone give me an explanation of what I should be looking for here, the black and red lines etc? Upper and lower plots, there are 4 in total.
batch = des2$BATCH #vector of numbers refering to the different batches of the samples
modcombat = model.matrix(~1, data=pheno) #yields a vector of 1s of length pheno
matrix <- as.matrix(data)
combat_edata = ComBat(dat=matrix, batch=batch, mod=modcombat, par.prior=TRUE, prior.plots=TRUE)
combat_df <- data.frame(combat_edata)
Thanks,
Chris