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.
Output of
count_matrix[1:3,1:3]
?count_matrix[1:3,1:3]
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?