My heat map is not showing me gene names

Hi,
I was trying to generate heat map for my ran seq data. In first column I had my gene names, other two columns were for the fold change values for different samples. When I followed the instructions and generated the heat map, it also took the gene names as one of the samples and generated heat map. I want the names to be on the side. Not sure how to do that. Is there any specific way I have to create my file. The command I used is below:
Heatmap.2

Install packages (“gplots”)

Library (“gplots”)

x <- read.csv("Desktop/combined_result.csv")

x (to check the table)

y <- data.matrix(x)

y (to check the table)
Heatmap.2(y, main = “Shigella”, trace = “none”, margins = c(10,12))

I would really appreciate if someone can help me figure out the mistake.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.