[R] Problem with duplicates in row.names

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Sat Sep 8 03:07:23 CEST 2012


You cannot have duplicate row names. You have to do something to address that, such as remove duplicates or aggregate your data.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

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 .
>
>Thanks for your help, I am new in R ...
>
>Fred
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list