.ggCellViolin | R Documentation |
Produce single violin plot with data frame passed from upstream
.ggCellViolin(
plotDF,
y,
groupBy = NULL,
colorBy = NULL,
violin = TRUE,
violinAlpha = 0.8,
violinWidth = 0.9,
box = FALSE,
boxAlpha = 0.6,
boxWidth = 0.4,
dot = FALSE,
dotColor = "black",
dotSize = getOption("ligerDotSize"),
xlabAngle = 45,
raster = NULL,
seed = 1,
...
)
plotDF |
Data frame like object (fortifiable) that contains all necessary information to make the plot. |
y , groupBy , colorBy |
See |
violin , box , dot |
Logical, whether to add violin plot, box plot or dot (scatter) plot, respectively. Layers are added in the order of dot, violin, and violin on the top surface. By default, only violin plot is generated. |
violinAlpha , boxAlpha |
Numeric, controls the transparency of layers.
Default |
violinWidth , boxWidth |
Numeric, controls the width of violin/box
bounding box. Default |
dotColor , dotSize |
Numeric, globally controls the appearance of all
dots. Default |
xlabAngle |
Numeric, counter-clockwise rotation angle of X axis label
text. Default |
raster |
Logical, whether to rasterize the dot plot. Default |
seed |
Random seed for reproducibility. Default |
... |
More theme setting arguments passed to
|
ggplot object by default. When plotly = TRUE
, returns
plotly (htmlwidget) object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.