I have differntial gene expression and I want to make a heat map. I put their expression on the clustvis website, and I got the different heat map from R. I have 142 genes and 4 samples. I used the R
#### file <- read.csv ("") file <- file[order(),] row.names() <- file$B file <- [,2:5] file_matrix <- data.matrix() file_heatmap <- heatmap(_matrix, Rowv=NA, Colv=NA, col = cm.colors(256), sccale="column", margins=c(5,10)) ###
the attached image I got (https://ibb.co/kyZ0af)
and the expression of gene 1 is
genes S1 S2 S3 S4 gene 1 174136.1093 160236.9196 145866.516 181905.6098 gene 18 52.56674663 79.04848213 55.4397647 1883.182956
the expression for gene18 in heatmap for S4 is white, but its expression in this sample is higher than others. the code and my heatmap are correct?