I am working with the createMAE() function of the ELMER Bioconductor package. While executing the createMAE() function using TCGA LIHC DNA Methylation 450K and RNASeq HTSeq - Counts data, I am getting this error:

Error in.rowNamesDF <-(x, value = value) :

duplicate 'row.names' are not allowed

In addition: Warning message:

non-unique values when setting 'row.names': 'TCGA-DD-AACA-02A', 'TCGA-DD-AACA-02B'

Can anyone tell me how to get rid of such error?


1 Answer 1


The error message is pretty clear: R requires unique row names on data frames and some of the "values" that you are trying to set as row names are non-unique.

You will need to provide a vector i) of length the same as your row number, ii) that is composed of non-unique values.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.