[BioC] heatmap genenames
Francois Pepin
fpepin at cs.mcgill.ca
Tue Nov 16 18:32:44 CET 2004
Hi everyone,
we've been looking at something similar to try to pick single a series
of genes from the heatmap.
Based on Michael's suggestion:
d <- dist(mydata)
hc <- hclust(d)
heatmap(mydata, RowV=as.dendrogram(hc))
genes<-identify(hc)
So you can select the branch(es) of interest on the dendogram and get
back the list of genes selected.
Francois
On Thu, 2004-11-04 at 09:06, Claire Wilson wrote:
> Dear all,
>
> I have been using the heatmap function to visualise my data and would
> like to obtain a list of my genes in the same order that they appear in
> the heatmap. I have looked through the mail archives and tried just
> creating a dendogram and using order.dendogram but have so far been
> unsuccessful. Can anyone point me in the right direction?
>
> cheers
>
> claire
>
> --------------------------------------------------------
>
>
> This email is confidential and intended solely for the use o...{{dropped}}
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
More information about the Bioconductor
mailing list