PurgeXenoGenes | R Documentation |
Removes counts and gene loadings for a secondary species and strips the primary species prefix from the remaining genes. Useful when cleaning an object that had controls cells added for multi-modal assays such as CITE-seq or REAP-seq.
PurgeXenoGenes(object, primary_species_prefix, secondary_species_prefix)
object |
Formerly mixed species Seurat object |
primary_species_prefix |
Literal string or regex prefix denoting genes from the species of interest |
secondary_species_prefix |
Literal string or regex prefix denoting genes from the species used as control |
Seurat object
pbmc <- PurgeXenoGenes(object = pbmc, primary_species_prefix = "hg38-", secondary_species_prefix = "mm10-")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.