Learn R Programming

scGate (version 1.7.0)

Marker-Based Cell Type Purification for Single-Cell Sequencing Data

Description

A common bioinformatics task in single-cell data analysis is to purify a cell type or cell population of interest from heterogeneous datasets. 'scGate' automatizes marker-based purification of specific cell populations, without requiring training data or reference gene expression profiles. Briefly, 'scGate' takes as input: i) a gene expression matrix stored in a 'Seurat' object and ii) a “gating model” (GM), consisting of a set of marker genes that define the cell population of interest. The GM can be as simple as a single marker gene, or a combination of positive and negative markers. More complex GMs can be constructed in a hierarchical fashion, akin to gating strategies employed in flow cytometry. 'scGate' evaluates the strength of signature marker expression in each cell using the rank-based method 'UCell', and then performs k-nearest neighbor (kNN) smoothing by calculating the mean 'UCell' score across neighboring cells. kNN-smoothing aims at compensating for the large degree of sparsity in scRNA-seq data. Finally, a universal threshold over kNN-smoothed signature scores is applied in binary decision trees generated from the user-provided gating model, to annotate cells as either “pure” or “impure”, with respect to the cell population of interest. See the related publication Andreatta et al. (2022) .

Copy Link

Version

Install

install.packages('scGate')

Monthly Downloads

489

Version

1.7.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Massimo Andreatta

Last Published

April 24th, 2025

Functions in scGate (1.7.0)

get_scGateDB

Load scGate model database
query.seurat

Toy dataset to test the package
scGate

Filter single-cell data by cell type
test_my_model

Test your model
get_testing_data

Download sample data
plot_levels

Plot scGate filtering results by level
combine_scGate_multiclass

Combine scGate annotations
performance.metrics

Performance metrics
load_scGate_model

Load a single scGate model
plot_tree

Plot model tree
gating_model

Model creation and editing
genes.blacklist.default

Blocklist of genes for dimensionality reduction
plot_UCell_scores

Plot UCell scores by level