obtain from the gene names from heat map.2
0
0
Entering edit mode
@nakanomasayuki265-13274
Last seen 6.9 years ago

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 • 1.1k views
ADD COMMENT

Login before adding your answer.

Traffic: 928 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6