Hi Georg,

I have a problem generating a heatmap from a hierarchical clustering,
> and I haven't found a solution in the documentation:
>
> hv<-heatmap(x, keep.dendro=TRUE) heatmap(x, Rowv=hv$Rowv,
> Colv=reorder(hv$Colv,1:16,
> +  agglo.FUN= mean), col = greenred.colors(256), margin = c(7,7),
> +  ColSideColors=gr)
>
> This gives me the heatmap that I want, but in cases where there are
> many genes, the row dendrogram and the gene names become ugly and
> illegible. My question is: how can I generate a heatmap with rows
> ordered according to the dendrogram, but with row dendrogram and gene
> names omitted?
>
> Im am using R version 2.2.0, 2005-10-06, powerpc-apple-darwin7.9.0



You can use the row index returned by heatmap  in hv. For example,

heatmap(x[hv$rowInd,], Rowv = NA, labRow = " ",...)

In this way, the rows will be ordered according to the dendrogram but you
won't get the row dendrogram or the gene names.

Lourdes

	[[alternative HTML version deleted]]

