热图
就是很热的图,会冒火的那种~~~
直接上代码
library(pheatmap)
library(RColorBrewer)
library(ggsci)
library(DESeq2)
vsd.T...= ann_colors,color = mypal)
pheatmap(mat, annotation_col = anno.1,cluster_cols = F,cluster_rows = F...,
show_colnames=F,show_rownames = F,
annotation_colors = ann_colors,color = mypal)...就是DESeq2准备的coldata中那个列名,这个名字错了会错pheatmap(mat.1, annotation_col = anno.1,cluster_cols = F,cluster_rows...= F,show_colnames=F,show_rownames = F, annotation_colors = ann_colors,color = mypal) 这句中所有的F都可以改成T,F