gravatar for imrankhanbioinfo

3 hours ago by

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



Source link