This is a test version of Biostars. For the public version, visit https://www.biostars.org.
non-unique values when setting 'row.names' error in DESeq2

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

can you try without tidy=TRUE ?

1 answer

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

Log in to answer this question.