DESEQ2:Error in rownames, what is the problem?
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,
• 2,230 views
•
link
1 answer
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))
• 0 views
•
link
Log in to answer this question.