subsample_recompute: Subsample molecular spikes per cell and recompute hamming...

View source: R/UMIcountR-funs.R

subsample_recomputeR Documentation

Subsample molecular spikes per cell and recompute hamming distance correction

Description

return_corrected_umi performs error correction on an input vector of raw UMI sequences.

Usage

subsample_recompute(dat, mu_nSpikeUMI, threads = 8)

Arguments

dat

input data.table of loaded spUMI data. Must have BC,UX and spikeUMI_hd2 columns.

mu_nSpikeUMI

mean expression level of the spUMI to subsample to.

threads

number of threads to use, Default: 8

Details

For each cell barcode, subsample the number of spUMIs to an expression level of the given mean and recomputes the error corrected UMIs.

Value

returns ...

See Also

data.table-package

Examples

## Not run: 
subsample_recompute(spikedat, mu_nSpikeUMI)

## End(Not run)

cziegenhain/UMIcountR documentation built on May 30, 2022, 5:38 p.m.