Try placing the column names into labCol and the rownames into labRow
e.g.heatmap.2(mat,dendrogram=c("none"),
Rowv=F, Colv=F, labRow = seq(-7.5,7.5,by=5), labCol=seq(-3,3,by=2))
Schalk Heunis
On Thu, Sep 17, 2009 at 3:53 PM, bioinformatics_guy wrote:
>
> Schalk,
>
> Thats a great function! The o
Schalk,
Thats a great function! The only question is, is it as flexible as
heatmap.2?
I figured out how to get it from rearranging the rows and columns but I
can't figure out how to label the rows and columns? What I like about the
heatmap.2 is that it gives a grid and histogram of the heatmap
Hi bioinformatics_guy
I think you are looking for the "image" function:
image(mat)
The heatmap.2 function does hierarchical clustering on rows and columns and
then orders the rows and columns according to the results of the clustering.
Image simply plots the matrix.
HTH
Schalk Heunis
On Thu, S
3 matches
Mail list logo