Entering edit mode
7.6 years ago
1769mkc
★
1.2k
I have data frame like this about 250 gene i taking a small subset of it
gene `WT` `Treated`
ACTL6A 4.5167211886 4.4304190975
ACTL6B -4.3730103378 -9.800779238
ACTR5 1.3871253811 1.2086608355
I am plotting heatmap since I m using pheatmap since plotting requires a matrix that is I have to use the only the numeric matrix
I m doing something like this
rownames(VD3) <- data[,1]
mat <- as.matrix(data[,-1])
I can plot the heatmap but Im missing my gene name labels , How can i include it in my final plot ,any suggestion ?And Im using the pheatmap library
Can you show the code and output you are getting?
+ )
I have no issue in getting the heatmap but it seems that after plotting the gene names are not annotated
I would like to see something like this where my respective genes are labelled