DESeq2 error message on R3.3
1
1
Entering edit mode
8.2 years ago
ta_awwad ▴ 350

Hi, I ran the following script on R version 3.2 and everything was fine:

conds<- c("kd1","kd1","kd2","kd2","GFP","GFP")

Design<-data.frame(condition=conds,
                   row.names=paste(conds,rep(c(1,2),3),
                   sep="_"))
dds <- DESeqDataSetFromMatrix(countData = assay(se),
                             colData = Design,
                             design = ~ condition)

however, when I updated R into 3.3 I start getting the following error message:

Error in FUN(X[[i]], ...) : 
  assay colnames() must be NULL or equal colData rownames()

I tried to follow many solutions but non of them worked .

can anyone help

thanks much

RNA-Seq DESeq2 • 2.7k views
ADD COMMENT
2
Entering edit mode
8.2 years ago

So what's colnames(se)?

ADD COMMENT
1
Entering edit mode
   >  colnames(se)
[1] "kd1_1.bam" "kd1_2.bam" "kd2_1.bam"  "kd2_2.bam"  "GFP_1.bam"  
[6] "GFP_2.bam"

whereas,

> Design
                  condition
kd1_1          kd1
kd1_2          kd1
kd2_1          kd2
kd2_2          kd2
GFP_1        GFP
GFP_2        GFP
ADD REPLY
1
Entering edit mode

There's your problem then.

ADD REPLY
1
Entering edit mode

thanks I solved the problem

ADD REPLY
0
Entering edit mode

got it .. thanks much

ADD REPLY

Login before adding your answer.

Traffic: 1731 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