View source: R/visualization.R
SingleExIPlot | R Documentation |
Plot a single expression by identity on a plot
SingleExIPlot(
data,
idents,
split = NULL,
type = "violin",
sort = FALSE,
y.max = NULL,
adjust = 1,
pt.size = 0,
alpha = 1,
cols = NULL,
seed.use = 42,
log = FALSE,
add.noise = TRUE,
raster = NULL
)
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 |
alpha |
Alpha vlaue 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 log10 scale |
add.noise |
determine if adding small noise for plotting |
raster |
Convert points to raster format. Requires 'ggrastr' to be installed.
default is |
A ggplot-based Expression-by-Identity plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.