bibentry(
  bibtype  = "Manual",
  title    = "ctdR: Enrichment Analysis of Chemical-Gene Interactions from the Comparative Toxicogenomics Database",
  author   = person("Luigi", "Corsaro",
                    comment = c(ORCID = "0000-0003-1218-230X")),
  year     = "2026",
  # Read from the DESCRIPTION rather than written out here. The version
  # was stuck at 0.99.2 through eight releases because nothing made it
  # move, and a citation that names the wrong version defeats its own
  # purpose.
  note     = paste("R package version", meta$Version),
  url      = "https://github.com/drake69/ctdR",
  # Concept DOI: it resolves to the most recent deposit rather than to
  # one version, which is what a reader following a citation wants.
  doi      = "10.5281/zenodo.19344200",
  textVersion = paste0(
    "Corsaro L (2026). ",
    "ctdR: Enrichment Analysis of Chemical-Gene Interactions ",
    "from the Comparative Toxicogenomics Database. ",
    "R package version ", meta$Version, ". ",
    "doi: 10.5281/zenodo.19344200. ",
    "https://github.com/drake69/ctdR"
  )
)

bibentry(
  bibtype  = "Article",
  title    = "Comparative Toxicogenomics Database (CTD): update 2023",
  author   = c(
    person("Allan P", "Davis"),
    person("Tanya C", "Wiegers"),
    person("Robin J", "Johnson"),
    person("Daniela", "Sciaky"),
    person("Jolene", "Wiegers"),
    person("Carolyn J", "Mattingly")
  ),
  journal  = "Nucleic Acids Research",
  year     = "2023",
  volume   = "51",
  number   = "D1",
  pages    = "D1257--D1262",
  doi      = "10.1093/nar/gkac833",
  textVersion = paste(
    "Davis AP, Wiegers TC, Johnson RJ, Sciaky D, Wiegers J, Mattingly CJ (2023).",
    "Comparative Toxicogenomics Database (CTD): update 2023.",
    "Nucleic Acids Research, 51(D1), D1257-D1262.",
    "doi: 10.1093/nar/gkac833.",
    "https://ctdbase.org"
  ),
  header   = "Please also cite CTD as required by their Terms of Service:"
)
