plot_violin_manual: plot the stacked violinplot of single cell RNAseq data

Description Usage Arguments Examples

View source: R/myviolin_plot.R

Description

plot the stacked violinplot of single cell RNAseq data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plot_violin_manual(
  gene,
  seurat_object,
  cluster = NULL,
  axis = FALSE,
  legend_position = "none",
  limits.max = 7,
  gene_name = FALSE,
  width = 3.6,
  height = 2,
  flip = F
)

Arguments

gene

a vector of the genes name to plot

seurat_object

the seurat object of your data

cluster

choose to cluster you interested

axis

logical,set the hidden axes

legend_position

position of legend

limits.max

numeric,the max legend value to regulate the color levels

gene_name

logical, set gene titile bold

width

the width of the figure

height

the height of the figure

flip

logical, set the direction of coordinate axis

Examples

1
2
3
4
5
## Not run: 
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)

## End(Not run)

Lian-Lab/LIANLAB documentation built on June 23, 2021, 5:37 a.m.