accustomed color scheme in Seurat FeaturePlot

FeaturePlot(seu.integrated, reduction="pca", features = c("AIF1", "CD53", "CD68", "CD74", "CSF1R", "FCGR2A", "HLA-DRA", "P2RY12", "PTPRC", "TYROBP")) &
scale_colour_gradientn(colours = rev(brewer.pal(n = 11, name = "RdBu")))

FeaturePlot(seu.integrated, reduction="pca", features = c("AIF1", "CD53", "CD68", "CD74", "CSF1R", "FCGR2A", "HLA-DRA", "P2RY12", "PTPRC", "TYROBP")) &
scale_colour_gradientn(colours = rev(brewer.pal(n = 11, name = "RdBu"))[6:11])

FeaturePlot(seu.integrated, reduction="pca", features = c("AIF1", "CD53", "CD68", "CD74", "CSF1R", "FCGR2A", "HLA-DRA", "P2RY12", "PTPRC", "TYROBP")) &
scale_colour_gradient(low="white", high="red")

colours = rev(brewer.pal(n = 11, name = "RdBu"))

FeaturePlot(seu.integrated, reduction="pca", features = c("AIF1", "CD53", "CD68", "CD74", "CSF1R", "FCGR2A", "HLA-DRA", "P2RY12", "PTPRC", "TYROBP")) &
scale_colour_gradient2(midpoint=2)

FeaturePlot(seu.integrated, reduction="pca", features = c("AIF1", "CD53", "CD68", "CD74", "CSF1R", "FCGR2A", "HLA-DRA", "P2RY12", "PTPRC", "TYROBP")) &
scale_colour_gradient2(low=colours[1], high=colours[11], midpoint=2)

你可能感兴趣的:(accustomed color scheme in Seurat FeaturePlot)