RSubread DESeq2
0
0
Entering edit mode
16 months ago
Beyza • 0

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 • 785 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

is the contigs the rownames or the first column?

ADD REPLY

Login before adding your answer.

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