Skip to content

scGate

1.7.2Package record

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

0packages depend
5.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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) doi:10.1093/bioinformatics/btac141.

Install

Health

CRAN checks
13OK
Slowest check: 10.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-10
Show 6 earlier changesHide 6 earlier changes
  • ERROR12 OK, 1 ERROR2026-05-03
  • OK14 OK2026-04-21
  • ERROR13 OK, 1 ERROR2026-04-19
  • OK14 OK2026-04-10
  • ERROR13 OK, 1 ERROR2026-04-09
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.7.2
README· In the repository, left out of the releaseVignettesYes · 1 · staticNEWSYes · does not mention 1.7.2Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
13
Examples that run
45%5 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.9K
CRAN downloads in the past year
Rank #5,311 · ~16/day · ~490/mo
Daily download trend is not available in this view yet.
54530 days
1.5K90 days
5.9K1 year
Compare downloads with other packages →
Also on169 r2u

Repository

145Stars
15Forks
5Open issues
0Open PRs
7Releases
280Commits
8Commit identities
single-cellsignaturesfilteringmarker-genesscgate
280 commits · Last activity 2026-03-13 · -0.7% stars, 30d · Default branch at 1.7.3, ahead of CRAN 1.7.2 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
27
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-10 · 1262026-10-07 · 145
PracticesBeta

Checks run against github.com/carmonalab/scgate on 2026-10-18.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing scGate adds 136 packages (82 with compiled code, 129 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB. 2 more not on CRAN are not measured.

Depends (1)
R >= 4.3.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.4.1 (2022)
Author · added in 1.6.2
Listed in earlier versions (1)
Changsheng Li
no longer listed · 1.4.1 to 1.6.0
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.2Latest
    record
    2025-07-23 · current release · diff ↗
  • 1.7.0
    record
    2025-04-24 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.6.2
    record
    2024-04-23 · diff ↗
  • 1.6.0
    record
    2023-11-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.1
    record
    2022-12-20
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-12-20
Total releases
5 / 4 yrs
License
GPL-3 OSI
Minimum R
≥ 4.3.0
Bundled data
1.5 MB / 2 files
Download size
1.5 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("scGate")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for scGate version 1.7.2 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy