A permanent error in DESeq2
1
0
Entering edit mode
Fereshteh ▴ 30
@fereshteh-15803
Last seen 11 days 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 • 114 views
ADD COMMENT
2
Entering edit mode
@kevin
Last seen 2 hours 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: 731 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