Problem with duplicates in row.names
On Fri, Sep 7, 2012 at 11:04 AM, STADLER Frederic
<frederic.stadler at unifr.ch> wrote:
Hello, I am drawing a heatmap with hundreds of genes. Everything work fine, except when I want to had the name of the genes as the row.names with
row.names (a)<-a$Name
And there's this things that duplicate are not allowed... How can I do to allow duplicates ??? I don't have the choice I can't just have numbers .
You might consider using make.unique(): row.names (a) <- make.unique(a$Name) HTH James