non-unique values when setting 'row.names' error in DESeq2
1
0
Entering edit mode
6 weeks ago

Hi Everyone!

I am trying to run the DESeqDataSetFromMatrix() command using a specific dataset but I keep getting the following error.

enter image description here

For some reason, R (version 4.0.5) is trying to assign the first column of my DataFrame to be the row names, even though I have already assigned the row names to be the gene names.

enter image description here

Also, here is a sampling of the data that I'm working with.

enter image description here

I am currently working in R version 4.0.5. Any help or pointers in the right direction would be greatly appreciated :)

DESeq2 R • 311 views
ADD COMMENT
0
Entering edit mode

can you try without tidy=TRUE ?

ADD REPLY
2
Entering edit mode
6 weeks ago
Basti ▴ 170

Remove tidy=TRUE, because tidy option is "for matrix input: whether the first column of countData is the rownames for the count matrix"

ADD COMMENT
0
Entering edit mode

Yes! This worked thank you so much!

ADD REPLY

Login before adding your answer.

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