Description Usage Arguments Details Examples
This will plot gene expression via violin plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
input |
The input data |
gene |
the gene or genes to plot |
color_by |
colData() column to facet plot by |
facet_by |
If ONE gene is being plotted it can be faceted. You cannot facet multiple genes |
assay |
The assay to operate on. Will default to get_def_assay(input) |
title |
The title |
jitter |
Whether or not to add jitter points to violin |
plot_mean |
whether or not to plot the mean value along with a secondary axis |
number_labels |
Add counts and fraction expression to plot |
sig |
number of decimals for number_labels |
size |
The size of the points |
ncol |
controls the number of columns if faceting |
text_sizes |
the text sizes on the plot |
Utilize information stored in colData to control the plot display.
1 | plot_violin(ex_sc_example, gene = "Tnf", title = "Tnf over Time", facet_by = "Timepoint", density = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.