{
  "_id": "6aed26e31e2c7b3a4f536c41",
  "Package": "ctdR",
  "Type": "Package",
  "Title": "Enrichment Analysis of Chemical-Gene Interactions from the\nComparative Toxicogenomics Database",
  "Version": "0.99.12",
  "Authors@R": "person(\ngiven = \"Luigi\",\nfamily = \"Corsaro\",\nrole = c(\"aut\", \"cre\"),\nemail = \"lcorsaro69@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1218-230X\"))",
  "Description": "Identifies chemicals significantly associated with a set\nof genes using data from the Comparative Toxicogenomics\nDatabase (CTD, <https://ctdbase.org>). Supports four enrichment\nmethods through a unified interface: Over-Representation\nAnalysis (ORA) via a hypergeometric test on stats::phyper(),\nGene Set Enrichment Analysis (GSEA) via 'fgsea', the\ncompetitive gene-set test CAMERA via 'limma', and per-sample\nGene Set Variation Analysis (GSVA) via 'GSVA'. Users download\nthe CTD chemical-gene interactions file once, import it with\nimport_CTD(), and then run enrichment_CTD() on either a gene\nlist (ORA, GSEA) or an expression matrix (CAMERA, GSVA). This\npackage does not bundle or redistribute CTD data: its example\ninteraction file is synthetic, and the tables of the\nreplication vignette hold counts and p-values only. Users must\ndownload the required data files directly from\n<https://ctdbase.org> and comply with the CTD data licensing\nterms (see <https://ctdbase.org/about/legal.jsp>).",
  "License": "Apache License 2.0 | file LICENSE",
  "URL": "https://luigicorsaro.com/ctdR/, https://github.com/drake69/ctdR",
  "BugReports": "https://github.com/drake69/ctdR/issues",
  "Encoding": "UTF-8",
  "biocViews": "GeneSetEnrichment, Pathways, Annotation, GeneExpression,\nDataImport",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libmagick++-dev gsfonts libicu-dev libpng-dev\nlibxml2-dev libssl-dev libx11-dev zlib1g-dev",
  "Repository": "https://bioc.r-universe.dev",
  "Date/Publication": "2026-11-05 10:33:36 UTC",
  "RemoteUrl": "https://github.com/bioc/ctdR",
  "RemoteRef": "HEAD",
  "RemoteSha": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-06 00:36:16 UTC",
    "User": "root"
  },
  "Author": "Luigi Corsaro [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1218-230X>)",
  "Maintainer": "Luigi Corsaro <lcorsaro69@gmail.com>",
  "_user": "bioc",
  "_type": "src",
  "_file": "ctdR_0.99.12.tar.gz",
  "_fileid": "https://r2.ropensci.org/770ae01cdb8aa17635e6411e382dba72a562c85356735b441b996b629869b3cb",
  "_filesize": 871481,
  "_sha256": "770ae01cdb8aa17635e6411e382dba72a562c85356735b441b996b629869b3cb",
  "_expires": "2027-02-14T01:01:20.000Z",
  "_created": "2026-11-06T00:36:16.000Z",
  "_published": "2026-11-20T01:24:31.503Z",
  "_upstream": "https://github.com/bioc/ctdR",
  "_status": "success",
  "_maintainer": {
    "name": "Luigi Corsaro",
    "email": "lcorsaro69@gmail.com",
    "login": "drake69",
    "linkedin": "in/luigicorsaro",
    "description": "🧬  Research and code in the same commit: pipelines, tools, data. 🇮🇹 ✈️",
    "uuid": 5324491,
    "orcid": "0000-0003-1218-230X"
  },
  "_jobs": [
    {
      "job": 127631362559,
      "time": 222,
      "config": "bioc-checks",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13467125047"
    },
    {
      "job": 127631362598,
      "time": 426,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13467615433"
    },
    {
      "job": 127631362570,
      "time": 463,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13466995447"
    },
    {
      "job": 127631362605,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13467542173"
    },
    {
      "job": 127631362671,
      "time": 229,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13467373715"
    },
    {
      "job": 127629216619,
      "time": 310,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13466760162"
    },
    {
      "job": 127631362568,
      "time": 168,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13465859277"
    },
    {
      "job": 127631362630,
      "time": 286,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13467170380"
    },
    {
      "job": 127631362737,
      "time": 248,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13466619209"
    },
    {
      "job": 127631362663,
      "time": 280,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13466658020"
    }
  ],
  "_bioccheck": {
    "error": 0,
    "warning": 0,
    "note": 7
  },
  "_buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732",
  "_commit": {
    "id": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
    "author": "Luigi Corsaro <5324491+drake69@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #61 from drake69/feat/organism-argument\n\nAdd the organism argument and correct the GSEA ranking (0.99.12)",
    "time": 1793874816
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "fgsea",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "org.Hs.eg.db",
      "role": "Imports"
    },
    {
      "package": "AnnotationDbi",
      "role": "Imports"
    },
    {
      "package": "limma",
      "role": "Imports"
    },
    {
      "package": "GSVA",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "BiocIO",
      "role": "Imports"
    },
    {
      "package": "BiocFileCache",
      "role": "Imports"
    },
    {
      "package": "S4Vectors",
      "role": "Imports"
    },
    {
      "package": "SummarizedExperiment",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    }
  ],
  "_owner": "bioc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 11
    },
    {
      "week": "2026-19",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 13
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-38",
      "n": 8
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 5
    },
    {
      "week": "2026-41",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [],
  "_bioc": [
    {
      "branch": "devel",
      "version": "0.99.11",
      "bioc": "3.24",
      "repository": "bioc",
      "r": "4.6.0"
    }
  ],
  "_topics": [
    "genesetenrichment",
    "pathways",
    "annotation",
    "geneexpression",
    "dataimport"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "drake69",
      "count": 172,
      "uuid": 5324491
    }
  ],
  "_userbio": {
    "uuid": 2286807,
    "type": "organization",
    "name": "Bioconductor",
    "followers": 485,
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_downloads": {
    "count": 34,
    "source": "https://www.bioconductor.org/packages/stats/bioc/ctdR"
  },
  "_devurl": "https://github.com/drake69/ctdr",
  "_pkgdown": "https://luigicorsaro.com/ctdR/",
  "_searchresults": 6,
  "_abi": {
    "exports": [
      {
        "key": "ctdR::CTDFile",
        "hash": "9e2f89fe09ba2837"
      }
    ],
    "imports": [
      {
        "key": "BiocIO::BiocFile",
        "hash": "7897bdc9b741e935"
      },
      {
        "key": "BiocIO::generic:import",
        "hash": "95a7d5ffdb2b9e00"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ctdR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/drake69/ctdr",
  "_realowner": "bioc",
  "_cranurl": false,
  "_exports": [
    "as_genesets_CTD",
    "ctd_cache",
    "ctd_provenance",
    "CTDFile",
    "enrichment_CTD",
    "import",
    "import_CTD",
    "plot_CTD"
  ],
  "_help": [
    {
      "page": "ctdR-package",
      "title": "ctdR: Enrichment Analysis of Chemical-Gene Interactions from CTD",
      "topics": [
        "ctdR-package",
        "ctdR"
      ]
    },
    {
      "page": "as_genesets_CTD",
      "title": "Export CTD Gene Sets for Existing Enrichment Engines",
      "topics": [
        "as_genesets_CTD"
      ]
    },
    {
      "page": "ctd_cache",
      "title": "Retrieve Cached CTD Data",
      "topics": [
        "ctd_cache"
      ]
    },
    {
      "page": "ctd_provenance",
      "title": "Provenance of the CTD data an analysis ran on",
      "topics": [
        "ctd_provenance",
        "print.ctd_provenance"
      ]
    },
    {
      "page": "CTDFile",
      "title": "CTD Chemical-Gene Interactions File",
      "topics": [
        ".CTDFile",
        "CTDFile",
        "CTDFile-class",
        "import,CTDFile,ANY,ANY-method"
      ]
    },
    {
      "page": "enrichment_CTD",
      "title": "Chemical Enrichment Analysis Using CTD",
      "topics": [
        "enrichment_CTD"
      ]
    },
    {
      "page": "import_CTD",
      "title": "Import CTD Chemical-Gene Interaction Data",
      "topics": [
        "import_CTD"
      ]
    },
    {
      "page": "plot_CTD",
      "title": "Plot Chemical Enrichment Results",
      "topics": [
        "plot_CTD"
      ]
    }
  ],
  "_readme": "https://github.com/bioc/ctdR/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "annotate",
    "AnnotationDbi",
    "askpass",
    "BH",
    "Biobase",
    "BiocBaseUtils",
    "BiocFileCache",
    "BiocGenerics",
    "BiocIO",
    "biocmake",
    "BiocParallel",
    "Biostrings",
    "bit",
    "bit64",
    "blob",
    "cachem",
    "cli",
    "clipr",
    "codetools",
    "cowplot",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "dbplyr",
    "DelayedArray",
    "DelayedMatrixStats",
    "digest",
    "dir.expiry",
    "dplyr",
    "farver",
    "fastmap",
    "fastmatch",
    "fgsea",
    "filelock",
    "formatR",
    "futile.logger",
    "futile.options",
    "generics",
    "GenomicRanges",
    "ggplot2",
    "glue",
    "graph",
    "GSEABase",
    "GSVA",
    "gtable",
    "h5mread",
    "HDF5Array",
    "hms",
    "httr",
    "httr2",
    "IRanges",
    "isoband",
    "jsonlite",
    "KEGGREST",
    "labeling",
    "lambda.r",
    "lattice",
    "lifecycle",
    "limma",
    "magick",
    "magrittr",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "memoise",
    "memuse",
    "mime",
    "openssl",
    "org.Hs.eg.db",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rhdf5",
    "rhdf5filters",
    "Rhdf5lib",
    "rjson",
    "rlang",
    "RSQLite",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "scales",
    "Seqinfo",
    "SingleCellExperiment",
    "snow",
    "SparseArray",
    "sparseMatrixStats",
    "SpatialExperiment",
    "statmod",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "XML",
    "xtable",
    "XVector"
  ],
  "_vignettes": [
    {
      "source": "ctdR.Rmd",
      "filename": "ctdR.html",
      "title": "ctdR: an application example",
      "author": "Luigi Corsaro",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Data licensing disclaimer",
        "Installation",
        "From Bioconductor devel (current installation method)",
        "From Bioconductor release (after the next Bioconductor release)",
        "From GitHub (latest development version)",
        "Quick start",
        "Step 1 -- Download CTD data",
        "Step 2 -- Import into ctdR",
        "Other species",
        "Which CTD release did I use?",
        "Step 3 -- Run enrichment analysis",
        "Prepare your gene list",
        "Shared output schema",
        "Over-Representation Analysis (ORA)",
        "Gene Set Enrichment Analysis (GSEA)",
        "End-to-end example with real RNA-seq data (GSE311566)",
        "Real-data GSEA",
        "Real-data ORA",
        "CAMERA (competitive test with inter-gene correlation)",
        "GSVA (per-sample scoring)",
        "Visualizing results",
        "Adjusting for multiple testing",
        "Gene set size filters and background universe",
        "The background universe is the choice that matters most",
        "Why the size thresholds are what they are",
        "And why there is no upper limit",
        "What that costs, and how to read around it",
        "Choosing among the four methods",
        "Interoperability with existing Bioconductor infrastructure",
        "Reading a CTD file the BiocIO way",
        "Handing the CTD gene sets to another engine",
        "Naming and scope: the \"CTD\" acronym",
        "Updating the CTD data",
        "References",
        "Session info"
      ],
      "created": "2026-03-30 16:16:03",
      "modified": "2026-11-05 10:33:36",
      "commits": 17
    },
    {
      "source": "replication_yang2024.Rmd",
      "filename": "replication_yang2024.html",
      "title": "Replicating a published CTD analysis: Yang et al. (2024)",
      "author": "Luigi Corsaro",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose",
        "The study",
        "The same CTD release",
        "Chemicals",
        "Does ctdR build the same gene sets?",
        "The same test on ctdR's sets",
        "The same genes, in discovery mode",
        "Verification and discovery",
        "What differs from the original analysis",
        "Yang et al. and ctdR, chemical by chemical",
        "Session information"
      ],
      "created": "2026-11-05 10:33:36",
      "modified": "2026-11-05 10:33:36",
      "commits": 1
    }
  ],
  "_score": 5.623249290397901,
  "_indexed": true,
  "_nocasepkg": "ctdr",
  "_universes": [
    "bioc",
    "drake69"
  ],
  "_previous": "0.99.11",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99.12",
      "date": "2026-11-06T00:41:25.000Z",
      "distro": "resolute",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/d14c53f855bcfb5dc2cdcc1fc46c7abe002c13b0a6c783cc74c1a4d5fc31da1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.99.12",
      "date": "2026-11-06T00:42:33.000Z",
      "distro": "resolute",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/fd8f24b27a3f9d85a03de117d8d57360301390273615cde227821d8e4f5cff44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99.12",
      "date": "2026-11-06T00:59:15.000Z",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/6621dfbeb933854e67f5aea9a4074de7d0147b744d2438491c345954fcc8baac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.99.12",
      "date": "2026-11-06T00:59:04.000Z",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/b67a52d89f2ebe9722f601e4c161df38873e295350dbd27bf9a1526d19de79fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.99.12",
      "date": "2026-11-06T00:39:40.000Z",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/2e7cd24886d5d83d3cab0daac9be52a44a70440443e3cc64f5be4a87d5ad9b6d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99.12",
      "date": "2026-11-06T00:38:41.000Z",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/f991954b18b3dc5e4b3aed4e5f9be2333f81b920d03fc8526042cd694c8adcc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.99.12",
      "date": "2026-11-06T00:38:35.000Z",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/349a7b4496264719370f1ed097e5ab979b6472fcd1986a59f99f0e4f5ca8fee0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.99.12",
      "date": "2026-11-06T00:38:49.000Z",
      "commit": "e1d78d2f911090d504d10ea5d165376d87dbb1e3",
      "fileid": "https://r2.ropensci.org/b638a41ea7dd361dbd3a4f32e030363e353759470cf359ee3f4c582a8e56b59c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/42137447732"
    }
  ]
}