qc_violin_plot: Generate a QC Violin Plot for a metric, grouped by a...

Description Usage Arguments Value

View source: R/qc_plots.R

Description

Generate a QC Violin Plot for a metric, grouped by a categorical metadata column.

Usage

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"
)

Arguments

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".

Value

a ggplot2 plot object


AllenInstitute/BarMixer documentation built on Dec. 17, 2021, 8:42 a.m.