qc_cutoff_barplot: Generate a QC Barplot for a metric at multiple cutoffs

Description Usage Arguments Value

Description

Generate a QC Barplot for a metric at multiple cutoffs

Usage

1
2
3
4
5
6
7
8
qc_cutoff_barplot(
  meta,
  column_x = "n_umis",
  name_x = "N UMIs",
  cutoffs = c(500, 750, 1000),
  max_y = 30000,
  fill = "purple"
)

Arguments

meta

A data.frame containing metadata

column_x

A character object specifying the metadata to use plotting

name_x

A character object specifying a name to display on the x-axis

cutoffs

A numeric vector specifying one or more cutoffs to use. Default is c(500, 750, 1000).

max_y

A numeric value specifying the maximum value to use for the y-axis. Default is 3e4.

fill

A character object specifying the fill color to use for for the violins. Default is "purple".

Value

a ggplot2 plot object


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