Barcode_Plot {scCustomize} | R Documentation |
Create Barcode Rank Plot
Description
Plot UMI vs. Barcode Rank with inflection and knee. Requires input from DropletUtils package.
Usage
Barcode_Plot(
br_out,
pt.size = 6,
plot_title = "Barcode Ranks",
raster_dpi = c(1024, 1024),
plateau = NULL
)
Arguments
br_out |
DFrame output from |
pt.size |
point size for plotting, default is 6. |
plot_title |
Title for plot, default is "Barcode Ranks". |
raster_dpi |
Pixel resolution for rasterized plots, passed to geom_scattermore(). Default is c(1024, 1024). |
plateau |
numerical value at which to add vertical line designating estimated empty droplet plateau (default is NULL). |
Value
A ggplot object
Examples
## Not run:
mat <- Read10X_h5(filename = "raw_feature_bc_matrix.h5")
br_results <- DropletUtils::barcodeRanks(mat)
Barcode_Plot(br_out = br_results)
## End(Not run)
[Package scCustomize version 2.1.2 Index]