FeaturePlot_my: enhenced FeaturePlot, with one unified legend color-bar.

View source: R/seurat_related.fine.R

FeaturePlot_myR Documentation

enhenced FeaturePlot, with one unified legend color-bar.

Description

color scheme: red like brown, z-score used. v0.2 add ... to allow for raster; add ncol

Usage

FeaturePlot_my(
  sce,
  features,
  ncol = 5,
  cut_dims = c(-1, 1.5),
  colors = brewer.pal(9, "YlOrRd"),
  raster = F,
  dpi = 300
)

Arguments

sce

Seurat obj

features

gene symbol list

ncol

num of columns

cut_dims

the min,max of scaled data

colors

color list, default will be ok

Examples

FeaturePlot_my(scObj_colon, features =c("Itgam", "Ly6g", "Cxcr2", "Cxcr4", "Cxcl10"), ncol=5 )
FeaturePlot_my(pbmc, features =c("S100A8", "S100A9", "CD3D", "IL10"), ncol=3, raster=T )

DawnEve/GEB documentation built on July 6, 2022, 7:05 p.m.