Entering edit mode
4.5 years ago
challagandla.anil
▴
10
My data structure: Firts Column is Gene_ID
library(RColorBrewer)
library(heatmap.plus)
library(gplots)
EZ2_Sorted <- read_csv("EZ2 Sorted.csv")
data1<-as.matrix(EZ2_Sorted[,2:7]) # 1st column gene ID #I have total 8 columns
heatmap.2(data1, trace = "none", density = "none", col = bluered(20),cexRow = 1, margins = c(10,12), Rowv= FALSE,Colv = FALSE)
I have tried fallowing code, but didn't help
row.names<-row.names(data1[1,])
Kindly help me Thanking you in Advance
Vooow, that was quick and it worked perfectly. Many Thanks to you :).