DoHeatmap 调整热图颜色
2020-12-23 本文已影响0人
Zee_李海海
[参考链接] (https://github.com/satijalab/seurat/issues/1048)
library(Seurat)
library(ggplot2)
pbmc<-readRDS(pbmc3k.rds)
p<-DoHeatmap(pbmc)+scale_fill_gradientn(colors = c("blue", "white", "red"))
[参考链接] (https://github.com/satijalab/seurat/issues/1048)
library(Seurat)
library(ggplot2)
pbmc<-readRDS(pbmc3k.rds)
p<-DoHeatmap(pbmc)+scale_fill_gradientn(colors = c("blue", "white", "red"))