We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b570bd commit f275afeCopy full SHA for f275afe
GENE_expre_pheatmap.r
@@ -6,5 +6,7 @@ b=data.matrix(a[,3:522])
6
7
annotation_row = data.frame(GeneClass = factor(rep(c("DIF", "IMR", "MES","PRO"), c(20, 22, 37,21))))
8
rownames(annotation_row) = rownames(a)
9
-pheatmap(b, annotation_row = annotation_row,cluster_row=FALSE,fontsize=9, fontsize_row=6)
+
10
11
+hmcols<- colorRampPalette(c("blue","red"))(10)
12
+pheatmap(b, annotation_row = annotation_row,cluster_row=FALSE,color=hmcols, fontsize=9, fontsize_row=6, scale="row")
0 commit comments