plot_drops_diagnostics: Plot diagnostic plot for testDrops results

Description Usage Arguments Value Examples

View source: R/plot_drops_diagnostics.R

Description

Plots a diagnostic plot for a testDrops result. The x-axis represents the total number of UMIs per cell, while the y-axis represents the negative log probability that a droplet is a cell.

Usage

1
2
plot_drops_diagnostics(testDrops_res, testDrops_res_list = NULL,
  x_range = NULL, y_range = NULL, log_x = F, log_y = F)

Arguments

testDrops_res

a testDrops object create by the testDrops function

testDrops_res_list

a list of testDrops objects create by the testDrops function; if a testDrops_res_list is supplied,testDrops_res should be the name of the testDrops object in that list i.e. testDrops_res = testDrops_res_list[[testDrops_res]]

x_range

a vector specifying range of values to plot for x-axis

y_range

a vector specifying range of values to plot for y-axis

log_x

logical; whether x-axis should be log-transformed

log_y

logical; whether y-axis should be log-transformed

Value

a ggplot2 object

Examples

1
plot_drops_diagnostics(testDrops_res)

jacobheng/cellwrangler documentation built on Aug. 12, 2019, 6:49 a.m.