0
$\begingroup$

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?

$\endgroup$
1
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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