plot_expression: Plot expression

Description Usage Arguments Value

View source: R/plot_expression.R

Description

Plot variables or genes of interest on a variable number of principal components

Usage

1
2
plot_expression(sce_object, var, group, theme = 12, facet = "vertical",
  type = "violin", scale = "width")

Arguments

sce_object

A single cell experiment object

var

Gene or genes to plot

group

Grouping variable

theme

Size of theme

facet

Orientation of facets

type

type of plot, option for violin or boxplot

scale

Set scale of violin, if "area" (default), all violins have the same area (before trimming the tails). If "count", areas are scaled proportionally to the number of observations. If "width", all violins have the same maximum width.

Value

Gene expression plot


campsj/scTools documentation built on May 16, 2019, 11:10 p.m.