DESEQ2:Error in rownames, what is the problem?
1
0
Entering edit mode
4.1 years ago
ciaki • 0

Hi there,

I am using DESEQ2 for RNAseq analysis but i do not understand why I get this error.

> dds <- DESeqDataSetFromMatrix(countData = data, 
+                               colData = labeldata, 
+                               design =~ subtype, tidy = TRUE)

**Error** in `.rowNamesDF<-`(x, value = value) : 
  duplicate 'row.names' are not allowed

I really do not know what is the issue. Could you please help?

Thanks,

RNA-Seq R • 1.9k views
ADD COMMENT
0
Entering edit mode
4.1 years ago

Hi,

The error is as stated:

duplicate 'row.names' are not allowed

You should try to find out which rownames are duplicated, and why, via:

rownames(data)[duplicated(rownames(data))]

If you wish to proceed irrespective of this, then change them / make them unique via:

rownames(data) <- make.names(rownames(data))
ADD COMMENT

Login before adding your answer.

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