seurat_violin: Similar to Seurat VlnPlot, with more graphic controls

Description Usage Arguments

Description

This function was called 'seurat_violin' originally because of re-implementation of violin plot in seurat. Its functionality has now expanded to include scatter plots and boxplots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
seurat_violin(
  x,
  features,
  group.by,
  assay = "RNA",
  slot_data = "data",
  num_col = NULL,
  free_xy = "fixed",
  AP = NULL,
  plot_type = "box",
  color.by = NULL,
  ...
)

Arguments

x

a Seurat object

features

genes to plot, which will be split over by facets

group.by

by which cell feature

num_col

in how many columns the facets are arranged

plot_type

can be 'box', 'violin' or 'scatter'.

...

additional arguments for custom_tick

color_by

only effective when plot_type is 'scatter'


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.