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:<jdnew...@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.stad...@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@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. ______________________________________________ R-help@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.