Skip to content

scGate

1.7.2

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

0packages depend
5.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Massimo AndreattaFirst published 2022-12-205 releasesCRAN page ↗GitHub ↗

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: 9.7 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-10
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
  • ERROR2026-05-03
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-21
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-19
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
55%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

5.7K
CRAN downloads in the past year
Rank #5,901 · ~16/day · ~472/mo
Daily download trend is not available in this view yet.
38230 days
1.3K90 days
5.7K1 year
Compare downloads with other packages →
Also on126 r2u

Repository

Repository
145Stars
15Forks
5Open issues
0Open PRs
7Releases
280Commits
8Contributors
single-cellsignaturesfilteringmarker-genesscgate
280 commits · Last activity 2026-03-13 · 0% stars, 30d

Stars over time

2025-07-25 · 1182026-07-07 · 145

Repository practices

Upstream repositoryBeta

Checks run against github.com/carmonalab/scgate on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author · added in 1.6.2
Listed in earlier versions (1)
no longer listed · 1.4.1 to 1.6.0
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.2Latest
    2025-07-23 · current release · diff ↗
  • 1.7.0
    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
    2024-04-23 · diff ↗
  • 1.6.0
    2023-11-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.1
    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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("scGate")
Andreatta, M., Berenstein, A., Carmona, S., & Garnica, J. (2025). scGate: Marker-Based Cell Type Purification for Single-Cell Sequencing Data (Version 1.7.2) [Computer software]. https://doi.org/10.32614/CRAN.package.scGate

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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