{
  "_id": "6a102559acfb0bcc41c8ea7e",
  "Package": "scGate",
  "Type": "Package",
  "Title": "Marker-Based Cell Type Purification for Single-Cell Sequencing\nData",
  "Version": "1.7.3",
  "Authors@R": "c(\nperson('Massimo', 'Andreatta',\nemail = 'massimo.andreatta@unige.ch',\nrole = c('aut','cre'),\ncomment = c(ORCID = '0000-0002-8036-2647')),\nperson('Ariel','Berenstein',\nemail = 'arieljberenstein@gmail.com',\nrole = c('aut'),\ncomment = c(ORCID = '0000-0001-8540-5389')),\nperson('Josep','Garnica',\nemail = 'josep.garnicacaparros@unige.ch',\nrole = c('aut')),\nperson('Santiago', 'Carmona',\nemail = 'santiago.carmona@unige.ch',\nrole = c('aut'),\ncomment = c(ORCID = '0000-0002-2495-0671'))\n)",
  "Description": "A common bioinformatics task in single-cell data analysis\nis to purify a cell type or cell population of interest from\nheterogeneous datasets. 'scGate' automatizes marker-based\npurification of specific cell populations, without requiring\ntraining data or reference gene expression profiles. Briefly,\n'scGate' takes as input: i) a gene expression matrix stored in\na 'Seurat' object and ii) a “gating model” (GM), consisting of\na set of marker genes that define the cell population of\ninterest. The GM can be as simple as a single marker gene, or a\ncombination of positive and negative markers. More complex GMs\ncan be constructed in a hierarchical fashion, akin to gating\nstrategies employed in flow cytometry. 'scGate' evaluates the\nstrength of signature marker expression in each cell using the\nrank-based method 'UCell', and then performs k-nearest neighbor\n(kNN) smoothing by calculating the mean 'UCell' score across\nneighboring cells. kNN-smoothing aims at compensating for the\nlarge degree of sparsity in scRNA-seq data. Finally, a\nuniversal threshold over kNN-smoothed signature scores is\napplied in binary decision trees generated from the\nuser-provided gating model, to annotate cells as either “pure”\nor “impure”, with respect to the cell population of interest.\nSee the related publication Andreatta et al. (2022)\n<doi:10.1093/bioinformatics/btac141>.",
  "biocViews": "",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/carmonalab/scGate",
  "BugReports": "https://github.com/carmonalab/scGate/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libpng-dev\nlibuv1-dev libxml2-dev libssl-dev python3 zlib1g-dev",
  "Repository": "https://carmonalab.r-universe.dev",
  "Date/Publication": "2026-03-13 11:17:21 UTC",
  "RemoteUrl": "https://github.com/carmonalab/scGate",
  "RemoteRef": "HEAD",
  "RemoteSha": "14dcede8f60298fddd2c47aa139e3edffbb31386",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 09:35:59 UTC",
    "User": "root"
  },
  "Author": "Massimo Andreatta [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8036-2647>),\nAriel Berenstein [aut] (ORCID: <https://orcid.org/0000-0001-8540-5389>),\nJosep Garnica [aut],\nSantiago Carmona [aut] (ORCID: <https://orcid.org/0000-0002-2495-0671>)",
  "Maintainer": "Massimo Andreatta <massimo.andreatta@unige.ch>",
  "MD5sum": "384b832f4c4f245cbe50b5c88ef63e1b",
  "_user": "carmonalab",
  "_type": "src",
  "_file": "scGate_1.7.3.tar.gz",
  "_fileid": "2eccb0e127d386c00a30fb4287ff133d1dc89e4b0addca52cdea9612c68f68fe",
  "_filesize": 1708552,
  "_sha256": "2eccb0e127d386c00a30fb4287ff133d1dc89e4b0addca52cdea9612c68f68fe",
  "_created": "2026-05-22T09:35:59.000Z",
  "_published": "2026-05-22T09:43:53.611Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77354352253,
      "time": 398,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7157543775"
    },
    {
      "job": 77354352191,
      "time": 377,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157537447"
    },
    {
      "job": 77354352819,
      "time": 232,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7157493203"
    },
    {
      "job": 77354352181,
      "time": 301,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157513985"
    },
    {
      "job": 77353590376,
      "time": 305,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157423938"
    },
    {
      "job": 77354352281,
      "time": 195,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157482358"
    },
    {
      "job": 77354352298,
      "time": 329,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7157523305"
    },
    {
      "job": 77354352207,
      "time": 290,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7157510872"
    },
    {
      "job": 77354352241,
      "time": 308,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157516345"
    }
  ],
  "_buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/carmonalab/scGate",
  "_commit": {
    "id": "14dcede8f60298fddd2c47aa139e3edffbb31386",
    "author": "mass-a <massimo.andreatta@unige.ch>",
    "committer": "mass-a <massimo.andreatta@unige.ch>",
    "message": "Update figshare link (changed url format)\n",
    "time": 1773400641
  },
  "_maintainer": {
    "name": "Massimo Andreatta",
    "email": "massimo.andreatta@unige.ch",
    "login": "mass-a",
    "orcid": "0000-0002-8036-2647",
    "description": "",
    "uuid": 56030596
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "Seurat",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "UCell",
      "version": ">= 2.6.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "ggridges",
      "role": "Imports"
    },
    {
      "package": "colorspace",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "BiocParallel",
      "role": "Imports"
    },
    {
      "package": "ggparty",
      "role": "Suggests"
    },
    {
      "package": "partykit",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "carmonalab",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-30",
      "n": 3
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "filtering",
    "marker-genes",
    "scgate",
    "signatures",
    "single-cell"
  ],
  "_stars": 141,
  "_contributors": [
    {
      "user": "mass-a",
      "count": 151,
      "uuid": 56030596
    },
    {
      "user": "ajberenstein",
      "count": 61,
      "uuid": 88733204
    },
    {
      "user": "sjcarmona",
      "count": 41,
      "uuid": 7525176
    },
    {
      "user": "jgarnica22",
      "count": 15,
      "uuid": 61703467
    },
    {
      "user": "bia-hnrg",
      "count": 9,
      "uuid": 40494701
    },
    {
      "user": "bbimber",
      "count": 1,
      "uuid": 7724863
    },
    {
      "user": "halterc",
      "count": 1,
      "uuid": 67605347
    },
    {
      "user": "kew24",
      "count": 1,
      "uuid": 56448994
    }
  ],
  "_userbio": {
    "uuid": 48469311,
    "type": "organization",
    "name": "Cancer Systems Immunology Lab",
    "description": "Single-cell omics data science at the Department of Pathology of Immunology of the University of Geneva"
  },
  "_downloads": {
    "count": 544,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/scGate"
  },
  "_devurl": "https://github.com/carmonalab/scgate",
  "_searchresults": 209,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/scGate.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/carmonalab/scgate",
  "_realowner": "carmonalab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.4.1",
      "date": "2022-12-20"
    },
    {
      "version": "1.6.0",
      "date": "2023-11-06"
    },
    {
      "version": "1.6.2",
      "date": "2024-04-23"
    },
    {
      "version": "1.7.0",
      "date": "2025-04-24"
    },
    {
      "version": "1.7.2",
      "date": "2025-07-23"
    }
  ],
  "_exports": [
    "combine_scGate_multiclass",
    "gating_model",
    "get_scGateDB",
    "get_testing_data",
    "load_scGate_model",
    "performance.metrics",
    "plot_levels",
    "plot_tree",
    "plot_UCell_scores",
    "scGate",
    "test_my_model"
  ],
  "_datasets": [
    {
      "name": "genes.blacklist.default",
      "title": "Blocklist of genes for dimensionality reduction",
      "object": "genes.blacklist.default",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "query.seurat",
      "title": "Toy dataset to test the package",
      "object": "query.seurat",
      "class": [
        "Seurat"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "combine_scGate_multiclass",
      "title": "Combine scGate annotations",
      "topics": [
        "combine_scGate_multiclass"
      ]
    },
    {
      "page": "gating_model",
      "title": "Model creation and editing",
      "topics": [
        "gating_model"
      ]
    },
    {
      "page": "genes.blacklist.default",
      "title": "Blocklist of genes for dimensionality reduction",
      "topics": [
        "genes.blacklist.default"
      ]
    },
    {
      "page": "get_scGateDB",
      "title": "Load scGate model database",
      "topics": [
        "get_scGateDB"
      ]
    },
    {
      "page": "get_testing_data",
      "title": "Download sample data",
      "topics": [
        "get_testing_data"
      ]
    },
    {
      "page": "load_scGate_model",
      "title": "Load a single scGate model",
      "topics": [
        "load_scGate_model"
      ]
    },
    {
      "page": "performance.metrics",
      "title": "Performance metrics",
      "topics": [
        "performance.metrics"
      ]
    },
    {
      "page": "plot_levels",
      "title": "Plot scGate filtering results by level",
      "topics": [
        "plot_levels"
      ]
    },
    {
      "page": "plot_tree",
      "title": "Plot model tree",
      "topics": [
        "plot_tree"
      ]
    },
    {
      "page": "plot_UCell_scores",
      "title": "Plot UCell scores by level",
      "topics": [
        "plot_UCell_scores"
      ]
    },
    {
      "page": "query.seurat",
      "title": "Toy dataset to test the package",
      "topics": [
        "query.seurat"
      ]
    },
    {
      "page": "scGate",
      "title": "Filter single-cell data by cell type",
      "topics": [
        "scGate"
      ]
    },
    {
      "page": "test_my_model",
      "title": "Test your model",
      "topics": [
        "test_my_model"
      ]
    }
  ],
  "_readme": "https://github.com/carmonalab/scGate/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "assorthead",
    "base64enc",
    "beachmat",
    "BH",
    "Biobase",
    "BiocGenerics",
    "BiocNeighbors",
    "BiocParallel",
    "bitops",
    "bslib",
    "cachem",
    "caTools",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "commonmark",
    "cowplot",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "DelayedArray",
    "deldir",
    "digest",
    "dotCall64",
    "dplyr",
    "dqrng",
    "evaluate",
    "farver",
    "fastDummies",
    "fastmap",
    "fitdistrplus",
    "FNN",
    "fontawesome",
    "formatR",
    "fs",
    "futile.logger",
    "futile.options",
    "future",
    "future.apply",
    "generics",
    "GenomicRanges",
    "ggplot2",
    "ggrepel",
    "ggridges",
    "globals",
    "glue",
    "goftest",
    "gplots",
    "gridExtra",
    "gtable",
    "gtools",
    "here",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr",
    "ica",
    "igraph",
    "IRanges",
    "irlba",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lambda.r",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "listenv",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "memoise",
    "mime",
    "miniUI",
    "nlme",
    "openssl",
    "otel",
    "parallelly",
    "patchwork",
    "pbapply",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "png",
    "polyclip",
    "progressr",
    "promises",
    "purrr",
    "R6",
    "RANN",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppAnnoy",
    "RcppArmadillo",
    "RcppEigen",
    "RcppHNSW",
    "RcppProgress",
    "RcppTOML",
    "reshape2",
    "reticulate",
    "rlang",
    "rmarkdown",
    "ROCR",
    "rprojroot",
    "RSpectra",
    "Rtsne",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "sass",
    "scales",
    "scattermore",
    "sctransform",
    "Seqinfo",
    "Seurat",
    "SeuratObject",
    "shiny",
    "SingleCellExperiment",
    "sitmo",
    "snow",
    "sourcetools",
    "sp",
    "spam",
    "SparseArray",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "survival",
    "sys",
    "tensor",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "UCell",
    "utf8",
    "uwot",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xtable",
    "XVector",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "make.index.Rmd",
      "filename": "make.index.html",
      "title": "Index of scGate vignettes",
      "author": "M. Andreatta, Ariel J. Berenstein, S. Carmona",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-12-21 09:21:44",
      "modified": "2025-04-24 13:13:11",
      "commits": 2
    }
  ],
  "_score": 8.791584693500354,
  "_indexed": true,
  "_nocasepkg": "scgate",
  "_universes": [
    "carmonalab",
    "mass-a"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.3",
      "date": "2026-05-22T09:40:01.000Z",
      "distro": "noble",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "a672b592555d560ec57d047145461d71e64900898b12f3367aa88c519603b1b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.3",
      "date": "2026-05-22T09:40:08.000Z",
      "distro": "noble",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "90b1fb51f858d6ed938137f14727e962730e7610eadb5da334b635ea2476854a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.3",
      "date": "2026-05-22T09:38:10.000Z",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "b21d52202ec77bc6894e42f7b7b47e5076bcb335f46eb7e817539eb73ba74377",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.3",
      "date": "2026-05-22T09:39:46.000Z",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "9a77013a06a8fbaf94a9ef0f8fe4c00b3660d42aaa85de4b0e8c5f8198241ed7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.7.3",
      "date": "2026-05-22T09:39:57.000Z",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "3731c20cd4381af55e44cb15a8bd966b348aa9962f3a9fd360720d745aac3017",
      "status": "success",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7.3",
      "date": "2026-05-22T09:38:41.000Z",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "a2f6f014a58043342caccf476a46442dcfe91eae7702edfecc8ca6f04738b1cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7.3",
      "date": "2026-05-22T09:38:17.000Z",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "6ded7b83565d9c9033aa8ac001cc335d82f0f9d6218d30ce79430a395c1d0001",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.7.3",
      "date": "2026-05-22T09:38:40.000Z",
      "commit": "14dcede8f60298fddd2c47aa139e3edffbb31386",
      "fileid": "d39becb08e2cc3bdbd01b8718a85e4a8858e9f2fccc919820f2a0004bfbf2674",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/carmonalab/actions/runs/26279999560"
    }
  ]
}