cleanhop: Remove potential misassigned reads due to index hopping in...

Description Usage Arguments Value Examples

View source: R/cleanhop.R

Description

Remove potential misassigned reads due to index hopping in single cell RNAseq data generated with combinatorial dual indexes.

Usage

1
cleanhop(sce, frct_value = 0.005)

Arguments

sce

A SingleCellExperiement object.

frct_value

Fraction of total reads to substract. Default value = 0.005.

Value

sce A SingleCellExperiement object.

Examples

1
2
3
4
sce <- SingleCellExperiment(assays = list(counts = as.matrix(cleanhop_counts)),
                            colData = cleanhop_annotations)
cleaned_sce = cleanhop(sce)
cleaned_sce = cleanhop(sce, frct_value = 0.01)

obricard/cleanhop documentation built on July 26, 2019, 8:22 a.m.