Description Usage Arguments Value
Generate a QC Violin Plot for a metric, grouped by a categorical metadata column.
1 2 3 4 5 6 7 8 9 | qc_violin_plot(
meta,
category_x = "well_id",
name_x = "Well ID",
column_y = "n_reads",
name_y = "N Reads per Cell",
log_y = TRUE,
fill = "skyblue"
)
|
meta |
A data.frame containing metadata |
category_x |
A character object specifying the metadata to use for grouping on the x-axis |
name_x |
A character object specifying a name to display on the x-axis |
column_y |
A character object specifying the metadata to display on the y-axis |
name_y |
A character object specifying a name to display on the y-axis |
log_y |
A logical indicating whether or not to log10-scale the y-axis. Default is TRUE. |
fill |
A character object specifying the fill color to use for for the violins. Default is "skyblue". |
a ggplot2 plot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.