Description Usage Arguments Value Examples
View source: R/plot_drops_diagnostics.R
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.
1 2 | plot_drops_diagnostics(testDrops_res, testDrops_res_list = NULL,
x_range = NULL, y_range = NULL, log_x = F, log_y = F)
|
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 |
a ggplot2 object
1 | plot_drops_diagnostics(testDrops_res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.