A permanent error in DESeq2
1
0
Entering edit mode
AZ ▴ 30
@fereshteh-15803
Last seen 19 months ago
United Kingdom

Hello

I don't know what is happening but I am getting a permanent error in DESeq2

> dds <- DESeqDataSetFromMatrix(countData=d, 
+                                colData=metaData, 
+                                design=~condition)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'nrow': object 'metaData' not found
> 

I can not find the solution

Help me please

I tried as.data.frame(d)

and as.matrix(d) but does not help

I am sure row names of metadata and colnames of d is the same

DESeq2 • 3.4k views
ADD COMMENT
2
Entering edit mode
Kevin Blighe ★ 4.0k
@kevin
Last seen 6 weeks ago
Republic of Ireland

Hey Fereshteh,

It seems that you have not yet initialised the metaData object. Can you show your commands prior to running DESeqDataSetFromMatrix()?

Note the difference between 'metaData' and 'metadata' ('D' versus' 'd')

Kind regards,

Kevin

ADD COMMENT
1
Entering edit mode

Thanks a million Kevin Blighe

ADD REPLY

Login before adding your answer.

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