qc_hist_plot: Generate a QC Histogram Plot for a single metric

Description Usage Arguments Value

View source: R/qc_plots.R

Description

Generate a QC Histogram Plot for a single metric

Usage

1
2
3
4
5
6
7
8
9
qc_hist_plot(
  meta,
  column = "n_reads",
  name_x = "N Reads per Cell",
  log_x = TRUE,
  fill = "dodgerblue",
  target = 20000,
  y_max = 2000
)

Arguments

meta

A data.frame containing metadata

column

A character object specifying the metadata to display

name_x

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

log_x

A logical indicating whether or not to log10-scale the x-axis. Default is TRUE.

fill

A character object specifying the color to use for for the histogram. Default is "dodgerblue".

target

A numeric value for a target line to display on the x-axis. Default is 2e4.

y_max

A numeric value for the maximum value on the y-axis. Default is 2e3.

Value

a ggplot2 plot object


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