Off topic:DeSeq2 error: counts matrix should be numeric, currently it has mode: character
0
0
Entering edit mode
11 months ago

Hi there,

Is there any way to get rid of this while creating object for Deseq2. I used script:

dds <- DESeqDataSetFromMatrix(countData = cts, 
           colData = coldata, 
           design = ~ condition) 

Error in DESeqDataSet(se, design = design, ignoreRank) : 
  counts matrix should be numeric, currently it has mode: character

I check my count matrix and I don't see any character specified only numeric values except row names as genes and colum names as samples. Then I also run the script to see if my count matric is numeric

all(is.numeric(cts))
False

I don't know where creating dds showing me this error. I will appreciate your help in this matter.

Imran

RNA-Seq DeSeq2 R • 2.1k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1032 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