ComBat error message
1
0
Entering edit mode
Guest User ★ 13k
@guest-user-4897
Last seen 9.6 years ago
Why do I get an error message when running ComBat? Target file: SAMPLE DAYPREP HOMA x5794 1 IS x5803 1 IS x5810 1 IR x5811 1 IR x5828 1 IS x5829 1 IS x5834 2 IR x5849 2 IR x5857 2 IS x5859 2 IS x5861 2 IS library (limma) library(Biobase) library(statmod) library(sva) eset.txt<-read.delim("eset.txt",header=TRUE) target<-read.delim("target.txt",header=TRUE) eset<-readExpressionSet("eset.txt","target.txt",header=TRUE) HOMA <- factor(target$HOMA, levels=c("IS","IR")) batch <- target$DAYPREP design <- model.matrix(~as.factor(HOMA), data=target) combateset <- ComBat(dat=eset, batch=batch, mod=design) -- output of sessionInfo(): Found 2 batches Found 1 categorical covariate(s) Standardizing Data across genes Error in dat - t(design %*% B.hat) : non-numeric argument to binary operator In addition: Warning message: In is.na(dat) : is.na() applied to non-(list or vector) of type 'S4' -- Sent via the guest posting facility at bioconductor.org.
• 1.2k views
ADD COMMENT
0
Entering edit mode
Kirsan1452 • 0
@kirsan1452-9400
Last seen 4.4 years ago

Have you solved this issue?

ADD COMMENT

Login before adding your answer.

Traffic: 627 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6