bc_plot_count: Plot for counts distribution

bc_plot_countR Documentation

Plot for counts distribution

Description

This function is used to summarize the counts of each barcode.

Usage

bc_plot_count(barcodeObj, bins = 20, useCleaned = TRUE)

## S4 method for signature 'BarcodeObj'
bc_plot_count(barcodeObj, bins = 20, useCleaned = TRUE)

Arguments

barcodeObj

A BarcodeObj object

bins

The number of bins for the histogram

useCleaned

Whether to use the cleaned barcode data

Details

When useCleaned is TRUE, the cleaned barcode data will be used. Otherwise, the messy barcode data will be used. The output will be different when useCleaned is TRUE or FALSE. It also depends on whether the UMI is available. The counts include:

  1. reads count (with barcode) versus the total reads

  2. reads count per UMI

  3. UMI count per barcode

  4. barcode count per sample

  5. reads or UMI count (dominant barcode) versus total count per sample

  6. reads or UMI count (dominant barcode) distribution

Value

A egg::ggarrange object

Examples

data(bc_obj)
bc_plot_count(barcodeObj=bc_obj)


wenjie1991/CellBarocde documentation built on April 17, 2024, 4:41 a.m.