get_overrepresented_spikes | R Documentation |
get_overrepresented_spikes is used to find the spUMIs of overrepresented molecular spikes.
get_overrepresented_spikes(dat, readcutoff = 100, nbccutoff = 5)
dat |
input data.table of loaded spUMI data. Must have BC and spikeUMI_hd2 columns. |
readcutoff |
maximum number of raw reads a spUMI should be observed in, Default: 100 |
nbccutoff |
maximum number of cell barcodes a spUMI should be observed in, Default: 5 |
Visualise filtering plots by accessing the "plots" list element of the output. over_readcutoff = spUMIs that are more abundant than the set cutoff of number of reads. over_nbcs = spUMIs that are observed in more cell barcodes than the set cutoff.
returns a list of length 3, where the first list element "plots" contains descriptive plots of chosen filtering cutoffs and the list elements "over_readcutoff" and "over_nbcs" contain the spUMI identities that should be discarded.
data.table-package
## Not run: get_overrepresented_spikes(spikedat, readcutoff = 100, nbccutoff = 5) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.