{
  "_id": "6a105ffdacfb0bcc41ca6f38",
  "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-05-08 08:40:14 UTC",
    "User": "root"
  },
  "MD5sum": "06aa5dc8f0a27e80a574ecf9f4245071",
  "_user": "mikldk",
  "_type": "src",
  "_file": "DNAtools_0.2-5.tar.gz",
  "_fileid": "ccb93d3bf2f7198551580705bba805ea9eafcac6aa831e475939981216cf748c",
  "_filesize": 1105687,
  "_sha256": "ccb93d3bf2f7198551580705bba805ea9eafcac6aa831e475939981216cf748c",
  "_created": "2026-05-08T08:40:14.000Z",
  "_published": "2026-05-22T13:54:05.917Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77393690965,
      "time": 165,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6875285721"
    },
    {
      "job": 77393690172,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6875294076"
    },
    {
      "job": 77393690893,
      "time": 163,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875285179"
    },
    {
      "job": 77393690857,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875286309"
    },
    {
      "job": 77393690848,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6875321872"
    },
    {
      "job": 77393691447,
      "time": 320,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6875365142"
    },
    {
      "job": 77393690266,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875315463"
    },
    {
      "job": 77393690142,
      "time": 403,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875358618"
    },
    {
      "job": 77393689488,
      "time": 245,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875236205"
    },
    {
      "job": 77393689619,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162203695"
    },
    {
      "job": 77393690173,
      "time": 144,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6875279606"
    },
    {
      "job": 77393690168,
      "time": 153,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6875282988"
    },
    {
      "job": 77393690686,
      "time": 146,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6875280551"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733",
  "_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",
    "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": 306,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DNAtools"
  },
  "_mentions": 8,
  "_devurl": "https://github.com/mikldk/dnatools",
  "_searchresults": 29,
  "_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.018700498666243,
  "_indexed": true,
  "_nocasepkg": "dnatools",
  "_universes": [
    "mikldk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-05-08T08:42:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "2d8aa15521c3f82eeafc5603d5d4fb254c73d69a04268f19ee5ee68c9dbb5f89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-05-08T08:43:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "73756dcd20f40815cd48b8c1b01867d028056d8fe35c247d5353b8210cd6cbca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-05-08T08:42:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "1b3536907c827b81cf19bf65792ace9b9dab34cb0a2405827a6e70070e53fd79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-05-08T08:42:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "42e93cd3dae0aff4f7cfaf20d9e427af2c9fcd4ebfcb6b3869b078317797bd17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-05-08T08:45:04.000Z",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "d79d1e7c663b1746c975919380e6feeb29eeaed8cef8a43d29dee4ce098e34c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-05-08T08:46:40.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "240f7495e4fd28114e225ad6c0fe10da696aef648020cf54411b4d82ac416cd8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-05-08T08:44:10.000Z",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "0382e6a58215c25fa86f912a9ba59579bc22fc0dfe2fd0980b448fcaa315f3df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-05-08T08:45:47.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "c4f36ba7a60e9cfe26a8323ccfde022ed3f598acdbcc7ba810fc5387e3903572",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-05-08T08:41:58.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "9dc74fa8ccbc4b91e7f85b90a58e6ea72287b982876be3fc45966dff7f01b7fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-05-08T08:42:09.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "7deedc6b789e654eb213906224cfec34416b6bc4b8b482444648da6d413828bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-05-08T08:41:58.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "b3bff1e12ba8a1c3e1b2b5cd0ad2ef6353b2064ff8af8e44443608f5061ea279",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2-5",
      "date": "2026-05-22T13:53:30.000Z",
      "arch": "emscripten",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "2fca7f3a32ad8d49c8389e45694dd840e37ed1aac8f0046b64916d07bf2a9c30",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/25545859733"
    }
  ]
}