This is a test version of Biostars. For the public version, visit https://www.biostars.org.
obtain from the gene names from heat map.2

I am trying to know gene names from a heatmap made by heatmap. 2. Since I have many genes, the gene names (row labels) are not readable. I typed following. Please teach me how to know gene names from heatmap.


data <- read.table("sample.txt") data <- as.matrix(data) out_f <- "cluster2.png"

library(gplots)

heatmap.2( data, scale = "row", dendrogram = "both", Rowv = TRUE, Colv = TRUE, trace = "none", main = "Density none"
)

r

Check this post in biostars and if it helps, upvote OP (steve in this case)

Hello nakanomasayuki265!

Questions similar to yours can already be found at:

We have closed your question to allow us to keep similar content in the same thread.

If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.