quietVDJgenes: Remove TCR and BCR genes from variable gene results

View source: R/quietVDJgenes.R

quietVDJgenesR Documentation

Remove TCR and BCR genes from variable gene results

Description

[Experimental]

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).

Usage

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, ...)

Arguments

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

Value

Seurat object or vector list with TCR genes removed.

Author(s)

Nicky de Vrij, Nikolaj Pagh, Nick Borcherding, Qile Yang

Examples

example <- quietVDJgenes(scRep_example)
trex_example <- quietTCRgenes(scRep_example)
ibex_example <- quietBCRgenes(scRep_example)


ncborcherding/scRepertoire documentation built on Jan. 30, 2025, 5:07 p.m.