DoVlnPlot_stack: Plot stack violin plot from Seurat object

View source: R/seurat_related.R

DoVlnPlot_stackR Documentation

Plot stack violin plot from Seurat object

Description

Plot stack violin plot from Seurat object

Usage

DoVlnPlot_stack(
  object,
  features,
  cols = NULL,
  group.by = NULL,
  type = "h",
  fill_by = "cluster"
)

Arguments

object

Seurat obj

features

gene symbols

cols

color list

group.by

group by

type

which type, h or v

fill_by

like group by

Examples

genes2=c("Cd79a", "Igha", "Cd3d", "Itgax", "Ly6g");
colors2=c("red", "blue", "red3", "orange", "purple");
DoVlnPlot_stack(scObj_known2, features = genes2, cols =colors2,
  group.by = "ident", fill_by = "gene", type="v")

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