Hi every one,
In Meta-Analysis, after combining two data (expression matrix from two microarray study) with the following command,
all<- merge(data1, data2, by= "Entrez")
and for remove batch effects from "all", I used SVA package, but I encounter the following error
library(sva) allc<- ComBat(all, batch) Found2batches Adjusting for0covariate(s) or covariate level(s) Standardizing Data across genes Error in ((dat - t(design %*% B.hat))^2) %*% rep(1/n.array, n.array) : requires numeric/complex matrix/vector arguments
I would be grateful if you could guide me to Fix this error.