This is a test version of Biostars. For the public version, visit https://www.biostars.org.
RSubread DESeq2

Hi everyone,

I am new in bioinformatics and when I try to use DESeq2 for my counts and further downstream analysis, I am faced with this problem.

dds <- DESeqDataSetFromMatrix(countData = count_matrix, colData = NULL, tidy = TRUE)
Error in `rownames<-`(`*tmp*`, value = colnames(countData)) : 
  attempt to set 'rownames' on an object with no dimensions

When I check the type of my count_matrix it is all integer (lapply(count_matrix, class)). I don't know what's wrong. I would appreciate if someone helps. Thank you.

rna-seq subread differential-expression deseq2

Output of count_matrix[1:3,1:3]?

count_matrix[1:3,1:3]

               SS_root_Cu_s1_1.fq.subread.BAM SS_root_Cu_s1_2.fq.subread.BAM SS_root_Cu_s2_1.fq.subread.BAM

Contig20300 0 0 0 comp173364_c1_seq2 6 5 2 comp160529_c0_seq1 0 0 0

is the contigs the rownames or the first column?

0 answers

No answers yet.

Log in to answer this question.