plot_UMI_dup {scPipe} | R 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)

[Package scPipe version 1.2.1 Index]