DotPlot_ByColumnList: facet_grid DotPlot by column, only accept named marker gene...

View source: R/DotPlot_ByColumnList.One.R

DotPlot_ByColumnListR Documentation

facet_grid DotPlot by column, only accept named marker gene list.

Description

v0.3 模仿张泽民实验室的图(https://pubmed.ncbi.nlm.nih.gov/34914499/ Fig.2A),竖排,分面方框

Usage

DotPlot_ByColumnList(
  object,
  features,
  scale = TRUE,
  scale.by = "radius",
  idents = NULL,
  cluster.idents = FALSE,
  base_size = list(),
  cols = NULL,
  direction = 1,
  col.min = -2.5,
  col.max = 2.5,
  dot.min = 0,
  dot.scale = 6,
  scale.min = NA,
  scale.max = NA,
  group.by = NULL,
  split.by = NULL
)

Arguments

object

Seurat obj

features

a list of named marker genes

scale

scale?

scale.by

scale method

idents

idents to use

cluster.idents

whether cluster idents

base_size

font size

cols

colors of gene expression

direction

color RColorBrewer direction

col.min

min?

col.max

max?

dot.min

dot size min

dot.scale

dot max size

scale.min

min?

scale.max

max?

group.by

group by

split.by

split by

Examples

DotPlot_ByColumnList(scObj_colon, features = common_markers)

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