I am running SVA on my data to remove the batch effect from the data that I got from NCBI and data I sequenced.
I am running following command -
> svobj = sva(raw.data,mod,mod0,n.sv=n.sv) Number of significant surrogate variables is: 3 Iteration (out of 5 ):1 Error in solve.default(t(mod) %*% mod) : system is computationally singular: reciprocal condition number = 5.55112e-18 Error during wrapup: cannot open the connection
This problem is happening only when I am running "leek" method. When I am using "be" method everything works fine. can somebody help me to solve this mystery?