SingleExIPlot: Plot a single expression by identity on a plot

Description Usage Arguments Value

View source: R/visualization.R

Description

Plot a single expression by identity on a plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
SingleExIPlot(
  data,
  idents,
  split = NULL,
  type = "violin",
  sort = FALSE,
  y.max = NULL,
  adjust = 1,
  pt.size = 0,
  cols = NULL,
  seed.use = 42,
  log = FALSE,
  raster = NULL
)

Arguments

data

Data to plot

idents

Idents to use

split

Use a split violin plot

type

Make either a “ridge” or “violin” plot

sort

Sort identity classes (on the x-axis) by the average expression of the attribute being potted

y.max

Maximum Y value to plot

adjust

Adjust parameter for geom_violin

pt.size

Size of points for violin plots

cols

Colors to use for plotting

seed.use

Random seed to use. If NULL, don't set a seed

log

plot Y axis on log scale

raster

Convert points to raster format. Requires 'ggrastr' to be installed. default is NULL which automatically rasterizes if ggrastr is installed and number of points exceed 100,000.

Value

A ggplot-based Expression-by-Identity plot


mrod0101/seurat documentation built on March 2, 2022, 12:17 a.m.