Description Usage Arguments Value
View source: R/plot_expression.R
Plot variables or genes of interest on a variable number of principal components
1 2 | plot_expression(sce_object, var, group, theme = 12, facet = "vertical",
type = "violin", scale = "width")
|
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. |
Gene expression plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.