Description Usage Arguments Value
View source: R/get_sample_from_barcode.R
This function assumes that process_velo_txis or similar has renamed the cell barcodes (colnames) in a SingleCellExperiment to indicate whence they came, and pops the last element of the split vector off the end. This is handy for running Harmony as a first pass to get rid of batch effects, although the right way to do this while respecting spliced-unspliced relationships is currently an open research problem.
1 | get_sample_from_barcode(txis, sep = "_")
|
txis |
SingleCellExperiment or vector with entries like FOO_BAR_AATGCT |
sep |
the separator character used to paste the column names ("_") |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.