plot_UMI_dup: Plot UMI duplication frequency

View source: R/qc.R

plot_UMI_dupR Documentation

Plot UMI duplication frequency

Description

Plot the UMI duplication frequency.

Usage

plot_UMI_dup(sce, log10_x = TRUE)

Arguments

sce

a SingleCellExperiment object

log10_x

whether to use log10 scale for x axis

Value

a line chart of the UMI duplication frequency

Examples

data("sc_sample_data")
data("sc_sample_qc")
sce = SingleCellExperiment(assays = list(counts = as.matrix(sc_sample_data)))
organism(sce) = "mmusculus_gene_ensembl"
gene_id_type(sce) = "ensembl_gene_id"
QC_metrics(sce) = sc_sample_qc
demultiplex_info(sce) = cell_barcode_matching
UMI_dup_info(sce) = UMI_duplication

plot_UMI_dup(sce)


LuyiTian/scPipe documentation built on Dec. 11, 2023, 8:21 p.m.