{
  "_id": "6a251ade4b233be19838d82b",
  "Package": "DNAtools",
  "Type": "Package",
  "Title": "Tools for Analysing Forensic Genetic DNA Data",
  "Version": "0.2-5",
  "Authors@R": "c(\nperson(given = \"Torben\", family = \"Tvedebrink\",\nemail = \"tvede@math.aau.dk\", role = c(\"aut\")),\nperson(given = \"James\", family = \"Curran\",\nemail = \"j.curran@auckland.ac.nz\", role = c(\"aut\")),\nperson(given = \"Mikkel Meyer\", family = \"Andersen\",\nemail = \"mikl@math.aau.dk\", role = c(\"aut\", \"cre\"))\n)",
  "Author": "Torben Tvedebrink [aut], James Curran [aut], Mikkel Meyer\nAndersen [aut, cre]",
  "Maintainer": "Mikkel Meyer Andersen <mikl@math.aau.dk>",
  "Description": "Computationally efficient tools for comparing all pairs of\nprofiles in a DNA database. The expectation and covariance of\nthe summary statistic is implemented for fast computing.\nRoutines for estimating proportions of close related\nindividuals are available. The use of wildcards (also called F-\ndesignation) is implemented. Dedicated functions ease plotting\nthe results. See Tvedebrink et al. (2012)\n<doi:10.1016/j.fsigen.2011.08.001>. Compute the distribution of\nthe numbers of alleles in DNA mixtures. See Tvedebrink (2013)\n<doi:10.1016/j.fsigss.2013.10.142>.",
  "License": "GPL (>= 2) | file LICENSE",
  "SystemRequirements": "GNU make",
  "BugReports": "https://github.com/mikldk/DNAtools/issues",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "utils, knitr",
  "Config/pak/sysreqs": "make",
  "Repository": "https://mikldk.r-universe.dev",
  "Date/Publication": "2025-12-05 09:06:13 UTC",
  "RemoteUrl": "https://github.com/mikldk/dnatools",
  "RemoteRef": "HEAD",
  "RemoteSha": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
  "Packaged": {
    "Date": "2026-06-07 07:09:33 UTC",
    "User": "root"
  },
  "MD5sum": "bda7c40688a5f66f0881672dfe7341f4",
  "_user": "mikldk",
  "_type": "src",
  "_file": "DNAtools_0.2-5.tar.gz",
  "_fileid": "9e935d8d11e05390ee7c7cb1680332c82346a01d9794fe916199f85141262870",
  "_filesize": 1102625,
  "_sha256": "9e935d8d11e05390ee7c7cb1680332c82346a01d9794fe916199f85141262870",
  "_created": "2026-06-07T07:09:33.000Z",
  "_published": "2026-06-07T07:16:46.948Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79939794885,
      "time": 195,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461772026"
    },
    {
      "job": 79939794877,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461768364"
    },
    {
      "job": 79939794933,
      "time": 167,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461768794"
    },
    {
      "job": 79939794900,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461765543"
    },
    {
      "job": 79939795016,
      "time": 221,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461780002"
    },
    {
      "job": 79939794941,
      "time": 296,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461789497"
    },
    {
      "job": 79939794930,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461777082"
    },
    {
      "job": 79939794955,
      "time": 305,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461785813"
    },
    {
      "job": 79939593214,
      "time": 215,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461747784"
    },
    {
      "job": 79939794864,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461764805"
    },
    {
      "job": 79939794913,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461765527"
    },
    {
      "job": 79939794914,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461764329"
    },
    {
      "job": 79939794928,
      "time": 128,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461764100"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mikldk/dnatools",
  "_commit": {
    "id": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
    "author": "Mikkel Meyer Andersen <mikl@mikl.dk>",
    "committer": "Mikkel Meyer Andersen <mikl@mikl.dk>",
    "message": "CRAN v0.2-5\n",
    "time": 1764925573
  },
  "_maintainer": {
    "name": "Mikkel Meyer Andersen",
    "email": "mikl@math.aau.dk",
    "login": "mikldk",
    "description": "",
    "uuid": 7080679
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.1.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.11.1",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "version": ">= 0.4.2",
      "role": "LinkingTo"
    },
    {
      "package": "Rsolnp",
      "version": ">= 1.16",
      "role": "Imports"
    },
    {
      "package": "multicool",
      "version": ">= 0.1-10",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.11.1",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "testthis",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mikldk",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2-5",
      "date": "2025-12-05"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mikldk",
      "count": 75,
      "uuid": 7080679
    },
    {
      "user": "jmcurran",
      "count": 4,
      "uuid": 1457367
    },
    {
      "user": "csoneson",
      "count": 1,
      "uuid": 5628952
    },
    {
      "user": "tvedebrink",
      "count": 1,
      "uuid": 8102518
    }
  ],
  "_userbio": {
    "uuid": 7080679,
    "type": "user",
    "name": "Mikkel Meyer Andersen"
  },
  "_downloads": {
    "count": 267,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DNAtools"
  },
  "_mentions": 8,
  "_devurl": "https://github.com/mikldk/dnatools",
  "_searchresults": 32,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DNAtools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mikldk/dnatools",
  "_realowner": "mikldk",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2010-12-06"
    },
    {
      "version": "0.1-1",
      "date": "2011-01-17"
    },
    {
      "version": "0.1-2",
      "date": "2011-06-25"
    },
    {
      "version": "0.1-3",
      "date": "2011-07-22"
    },
    {
      "version": "0.1-4",
      "date": "2011-09-07"
    },
    {
      "version": "0.1-5",
      "date": "2011-09-08"
    },
    {
      "version": "0.1-6",
      "date": "2012-05-11"
    },
    {
      "version": "0.1-7",
      "date": "2013-08-31"
    },
    {
      "version": "0.1-8",
      "date": "2013-12-06"
    },
    {
      "version": "0.1-21",
      "date": "2014-09-03"
    },
    {
      "version": "0.1-21.1",
      "date": "2016-07-12"
    },
    {
      "version": "0.1-22",
      "date": "2017-02-11"
    },
    {
      "version": "0.2-2",
      "date": "2020-03-03"
    },
    {
      "version": "0.2-3",
      "date": "2020-07-07"
    },
    {
      "version": "0.2-4",
      "date": "2022-03-17"
    },
    {
      "version": "0.2-5",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "convolve",
    "dbCollapse",
    "dbCompare",
    "dbExpect",
    "dbSimulate",
    "dbVariance",
    "estimatePD",
    "freqEst",
    "optim.relatedness",
    "pContrib",
    "pContrib_locus",
    "plot.dbcompare",
    "plot.dbOptim",
    "Pnm_all",
    "Pnm_locus",
    "print.dbcompare",
    "print.dbOptim",
    "simAlleleFreqs"
  ],
  "_datasets": [
    {
      "name": "dbExample",
      "title": "Simulated database with 1,000 individuals",
      "object": "dbExample",
      "file": "dbExample.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "D16S539.1",
        "D16S539.2",
        "D18S51.1",
        "D18S51.2",
        "D19S433.1",
        "D19S433.2",
        "D21S11.1",
        "D21S11.2",
        "D2S1338.1",
        "D2S1338.2",
        "D3S1358.1",
        "D3S1358.2",
        "D8S1179.1",
        "D8S1179.2",
        "FGA.1",
        "FGA.2",
        "TH01.1",
        "TH01.2",
        "vWA.1",
        "vWA.2"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "DNAtools-package",
      "title": "Tools for analysing forensic genetic DNA databases",
      "topics": [
        "DNAtools-package",
        "DNAtools"
      ]
    },
    {
      "page": "dbCollapse",
      "title": "Collapse m/p output to vector",
      "topics": [
        "dbCollapse"
      ]
    },
    {
      "page": "dbCompare",
      "title": "Compare DNA profiles",
      "topics": [
        "dbCompare"
      ]
    },
    {
      "page": "dbExample",
      "title": "Simulated database with 1,000 individuals",
      "topics": [
        "dbExample"
      ]
    },
    {
      "page": "dbExpect",
      "title": "Expected value of cell counts in DNA database comparison",
      "topics": [
        "dbExpect"
      ]
    },
    {
      "page": "dbSimulate",
      "title": "Simulate a DNA database",
      "topics": [
        "dbSimulate"
      ]
    },
    {
      "page": "dbVariance",
      "title": "Covariance matrix of cell counts in DNA database comparison",
      "topics": [
        "dbVariance"
      ]
    },
    {
      "page": "estimatePD",
      "title": "Estimate the drop-out probability based on number of alleles",
      "topics": [
        "estimatePD"
      ]
    },
    {
      "page": "freqEst",
      "title": "Simple allele frequency estimation",
      "topics": [
        "freqEst"
      ]
    },
    {
      "page": "genRypeRec",
      "title": "Generates DNA profiles of n individuals.",
      "topics": [
        "genRypeRec"
      ]
    },
    {
      "page": "genTypeRec",
      "title": "Generates DNA profiles of n unrelated individuals for a locus",
      "topics": [
        "genTypeRec"
      ]
    },
    {
      "page": "optim.relatedness",
      "title": "Estimate theta and the fraction of comparisons between close relatives",
      "topics": [
        "optim.relatedness"
      ]
    },
    {
      "page": "pContrib",
      "title": "Compute the posterior probabilities for P(m|n0) for a given prior P(m) and observed vector n0 of locus counts",
      "topics": [
        "pContrib"
      ]
    },
    {
      "page": "pContrib_locus",
      "title": "Compute the posterior probabilities for Pr(m|n0) for a given prior Pr(m).",
      "topics": [
        "pContrib_locus"
      ]
    },
    {
      "page": "plot.dbcompare",
      "title": "Plots the summary matrix",
      "topics": [
        "plot.dbcompare"
      ]
    },
    {
      "page": "plot.dbOptim",
      "title": "Plots the fitted object function for estimated familial relationships in the database and theta.",
      "topics": [
        "lines.dbOptim",
        "plot.dbOptim",
        "points.dbOptim"
      ]
    },
    {
      "page": "Pnm_all",
      "title": "The exact distribution of the number of alleles in a m-person DNA mixture",
      "topics": [
        "convolve",
        "p.numberofalleles",
        "Pnm_all",
        "Pnm_locus",
        "pNoA"
      ]
    },
    {
      "page": "print.dbcompare",
      "title": "Prints the summary matrix",
      "topics": [
        "print.dbcompare"
      ]
    },
    {
      "page": "print.dbOptim",
      "title": "Prints the results from optim.relatedness()",
      "topics": [
        "print.dbOptim"
      ]
    },
    {
      "page": "simAlleleFreqs",
      "title": "Simulate Allele Frequencies",
      "topics": [
        "simAlleleFreqs"
      ]
    }
  ],
  "_readme": "https://github.com/mikldk/dnatools/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "digest",
    "future",
    "future.apply",
    "globals",
    "listenv",
    "multicool",
    "numDeriv",
    "parallelly",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "RcppProgress",
    "Rsolnp",
    "truncnorm"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "db_vignette.Rmd",
      "filename": "db_vignette.html",
      "title": "Empirical testing of DNA match probabilities",
      "author": "Mikkel Meyer Andersen, James Michael Curran and Torben Tvedebrink",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "DNA evidence, matches and partial matches",
        "DNA database comparison exercises",
        "The birthday problem",
        "The pairwise profile matching probability",
        "Using the package DNAtools",
        "References"
      ],
      "created": "2019-12-09 13:35:52",
      "modified": "2022-03-17 13:02:44",
      "commits": 7
    },
    {
      "source": "dna_vignette.Rmd",
      "filename": "dna_vignette.html",
      "title": "STR markers in forensic genetics",
      "author": "Mikkel Meyer Andersen, James Michael Curran and Torben Tvedebrink",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Matches and partial matches",
        "The DNAtools package",
        "Using the package DNAtools",
        "References"
      ],
      "created": "2019-12-09 13:35:52",
      "modified": "2022-03-17 13:02:44",
      "commits": 7
    },
    {
      "source": "noa_vignette.Rmd",
      "filename": "noa_vignette.html",
      "title": "On the exact distribution of the numbers of alleles in DNA mixtures",
      "author": "Mikkel Meyer Andersen, James Michael Curran and Torben Tvedebrink",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "DNA mixtures",
        "Single locus",
        "Accumulating over loci",
        "$\\theta$-correction",
        "Summing over loci",
        "Posterior probability for the number of contributors"
      ],
      "created": "2019-12-09 13:35:52",
      "modified": "2020-03-01 17:11:25",
      "commits": 4
    }
  ],
  "_score": 6.061452479087194,
  "_indexed": true,
  "_nocasepkg": "dnatools",
  "_universes": [
    "mikldk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-06-07T07:12:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "2ea678cf1009d5d138d1e443dbce1780909c6e10c92cdc45689ae5d17d0c287e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-06-07T07:12:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "daf0e3c8ae76c3d18e7e717295a4c0c35a4a1710e3326c1b54f549cb5dbe4f33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-06-07T07:12:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "ba9519694839ff619a48885e9e0efa75fcc82a9e44aba810c411af94308cdefe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-06-07T07:12:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "2c76a5a4f950188e2787a2217b33ded9c5df419a13a38cf3a87c7d1f028a5f25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-06-07T07:14:05.000Z",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "573e375a2208f0f592ca3c2b0060dbc45b1067e3af78f0ea9d9c4e33627dffea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-06-07T07:14:59.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "6845723b3d5bca64dae55cdc3427270200bd40f93d73b9f13b957e46b04b9a61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-06-07T07:13:36.000Z",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "24ef679cfa7c8b1e5596d68d42e69925da842ca5d11ed9c922fdf2d94ce077c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-06-07T07:14:21.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "fec07819e422a375164222518aab04e7d92ba764477f6a2314a42e8f4f7e6b05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2-5",
      "date": "2026-06-07T07:12:13.000Z",
      "arch": "emscripten",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "94137afbae6971fc6aecf574d25b566a9a9b00df132a68e34ec1f579a68731e4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-06-07T07:11:18.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "f1acbfda7a4e2a8ad2d837158d0dcc77071ae75d229d7ac2d9dcd2f22dcdcc29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-06-07T07:11:18.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "30a5266b66c728ce356615be9612d25eac868b59be31ffa9b6f15cbecc202c35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-06-07T07:11:09.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "b5f6568da663d50cb127a2047ef657330bbc19afb9d82e594eb849073b8ea77e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/27085684145"
    }
  ]
}