View source: R/quietVDJgenes.R
quietVDJgenes | R Documentation |
Most single-cell workflows use highly-expressed and highly-variable genes for the initial calculation of PCA and subsequent dimensional reduction. This function will remove the TCR and/or BCR genes from the variable features in a Seurat object or from a vector (potentially generated by the Bioconductor scran workflow).
quietVDJgenes(sc, ...)
quietTCRgenes(sc, ...)
## Default S3 method:
quietTCRgenes(sc, ...)
## S3 method for class 'Seurat'
quietTCRgenes(sc, assay = NULL, ...)
quietBCRgenes(sc, ...)
## Default S3 method:
quietBCRgenes(sc, ...)
## S3 method for class 'Seurat'
quietBCRgenes(sc, assay = NULL, ...)
sc |
Single-cell object in Seurat format or vector of variable genes to use in reduction |
... |
Reserved for future arguments |
assay |
The Seurat assay slot to use to remove immune receptor genes from, NULL value will default to the default assay |
Seurat object or vector list with TCR genes removed.
Nicky de Vrij, Nikolaj Pagh, Nick Borcherding, Qile Yang
example <- quietVDJgenes(scRep_example)
trex_example <- quietTCRgenes(scRep_example)
ibex_example <- quietBCRgenes(scRep_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.