[BioC] displaying heatmap with gene names instead of Affy probes

Sean Davis sdavis2 at mail.nih.gov
Wed Jul 11 06:29:53 CEST 2007


Ruppert Valentino wrote:
> Hello,
>           Can anyone tell me how to display heatmap with gene names instead 
> of Affy probes when displaying heatmap from Affy exprsSet. I looked at the 
> heatmap function and exprs class but I am at a loss as how to change the 
> name on the heatmap to Gene name instead of Affy ID.
>
> I managed to get the geneids as follows :
>
> geneid <- mget(geneNames(eset), envir = hgu133aSYMBOL)  # get gene symbols
>
>
> but would be greatful for any advice on what to do next to get heatmap with 
> gene names instead of Affy IDs.
>   

You probably want to look at the help for heatmap.  There is an argument 
to the heatmap function called labRow which can be used for this purpose.

Sean



More information about the Bioconductor mailing list