Package: scGate 1.7.2
scGate: Marker-Based Cell Type Purification for Single-Cell Sequencing Data
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>.
Authors:
scGate_1.7.2.tar.gz
scGate_1.7.2.zip(r-4.7)scGate_1.7.2.zip(r-4.6)scGate_1.7.2.zip(r-4.5)
scGate_1.7.2.tgz(r-4.6-any)scGate_1.7.2.tgz(r-4.5-any)
scGate_1.7.2.tar.gz(r-4.7-any)scGate_1.7.2.tar.gz(r-4.6-any)
scGate_1.7.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
scGate/json (API)
| # Install 'scGate' in R: |
| install.packages('scGate', repos = c('https://zaoqu-liu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/zaoqu-liu/scgate/issues
Pkgdown/docs site:https://zaoqu-liu.github.io
- genes.blacklist.default - Blocklist of genes for dimensionality reduction
- query.seurat - Toy dataset to test the package
Last updated from:464ffc9b42 (on main). Checks:9 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 279 | ||
| source / vignettes | OK | 289 | ||
| linux-release-x86_64 | OK | 262 | ||
| macos-release-arm64 | OK | 128 | ||
| macos-oldrel-arm64 | OK | 140 | ||
| windows-devel | OK | 229 | ||
| windows-release | OK | 209 | ||
| windows-oldrel | OK | 226 | ||
| wasm-release | OK | 215 |
Exports:combine_scGate_multiclassgating_modelget_scGateDBget_testing_dataload_scGate_modelperformance.metricsplot_levelsplot_treeplot_UCell_scoresscGatetest_my_model
Dependencies:abindaskpassassortheadbase64encbeachmatBHBiocGenericsBiocNeighborsBiocParallelbitopsbslibcachemcaToolscliclustercodetoolscolorspacecommonmarkcowplotcpp11crosstalkcurldata.tableDelayedArraydeldirdigestdotCall64dplyrdqrngevaluatefarverfastDummiesfastmapfitdistrplusFNNfontawesomeformatRfsfutile.loggerfutile.optionsfuturefuture.applygenericsggplot2ggrepelggridgesglobalsgluegoftestgplotsgridExtragtablegtoolsherehighrhtmltoolshtmlwidgetshttpuvhttricaigraphIRangesirlbaisobandjquerylibjsonliteKernSmoothknitrlabelinglambda.rlaterlatticelazyevallifecyclelistenvlmtestmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemimeminiUInlmeopensslotelparallellypatchworkpbapplypillarpkgconfigplotlyplyrpngpolyclipprogressrpromisespurrrR6RANNrappdirsRColorBrewerRcppRcppAnnoyRcppArmadilloRcppEigenRcppHNSWRcppProgressRcppTOMLreshape2reticulaterlangrmarkdownROCRrprojrootRSpectraRtsneS4ArraysS4VectorsS7sassscalesscattermoresctransformSeuratSeuratObjectshinysitmosnowsourcetoolsspspamSparseArrayspatstat.dataspatstat.explorespatstat.geomspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstringistringrsurvivalsystensortibbletidyrtidyselecttinytexutf8uwotvctrsviridisLitewithrxfunxtableXVectoryamlzoo
Last update: 2026-01-23
Started: 2026-01-23
Last update: 2026-01-23
Started: 2026-01-23
Last update: 2026-01-23
Started: 2026-01-23
Last update: 2026-01-23
Started: 2026-01-23
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Combine scGate annotations | combine_scGate_multiclass |
| Model creation and editing | gating_model |
| Blocklist of genes for dimensionality reduction | genes.blacklist.default |
| Load scGate model database | get_scGateDB |
| Download sample data | get_testing_data |
| Load a single scGate model | load_scGate_model |
| Performance metrics | performance.metrics |
| Plot scGate filtering results by level | plot_levels |
| Plot model tree | plot_tree |
| Plot UCell scores by level | plot_UCell_scores |
| Toy dataset to test the package | query.seurat |
| Filter single-cell data by cell type | scGate |
| Test your model | test_my_model |
