{
  "_id": "6a4ca5d007c3fd5c3260ede7",
  "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-07-07 07:01:06 UTC",
    "User": "root"
  },
  "_user": "mikldk",
  "_type": "src",
  "_file": "DNAtools_0.2-5.tar.gz",
  "_fileid": "https://r2.ropensci.org/3327da4afc22ff4d7f500921f2ac170b9799ea1b9cc88e238cc1a7ae5cdfda51",
  "_filesize": 1105729,
  "_sha256": "3327da4afc22ff4d7f500921f2ac170b9799ea1b9cc88e238cc1a7ae5cdfda51",
  "_expires": "2026-10-15T07:07:58.000Z",
  "_created": "2026-07-07T07:01:06.000Z",
  "_published": "2026-07-07T07:08:00.358Z",
  "_jobs": [
    {
      "job": 85555939318,
      "time": 196,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130359098"
    },
    {
      "job": 85555939350,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130354294"
    },
    {
      "job": 85555939314,
      "time": 219,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130365581"
    },
    {
      "job": 85555939338,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130360276"
    },
    {
      "job": 85555939373,
      "time": 189,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130347265"
    },
    {
      "job": 85555939287,
      "time": 344,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130394660"
    },
    {
      "job": 85555939233,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130336631"
    },
    {
      "job": 85555939222,
      "time": 355,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130397649"
    },
    {
      "job": 85555275662,
      "time": 248,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130295023"
    },
    {
      "job": 85555939228,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8130349429"
    },
    {
      "job": 85555939260,
      "time": 181,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130352958"
    },
    {
      "job": 85555939252,
      "time": 150,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130343036"
    },
    {
      "job": 85555939282,
      "time": 182,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130353006"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 37
  },
  "_downloads": {
    "count": 474,
    "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.1",
  "_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",
    "LICENSE",
    "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": "16-20260322-1ubuntu1",
      "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-07-07T07:04:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/cb1489dbb65d28b75a0a986a9b9437c39a44bcb0fadf968332af9f1fcfdc57a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-07-07T07:04:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/8f80e03b8b962e7d608cd1dfb29a70c62df1843415be158d141385f49f5ba10a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-07-07T07:04:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/1d9c475e33e20afc50870d105e6adf5fff29ed57452588ee97978a686218a8d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2-5",
      "date": "2026-07-07T07:04:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/3b60a5905c707d7833e338e7b5a39905f909041d293ba80c2ee1d12663a542d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-07-07T07:03:49.000Z",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/87c5dbb67420c03b3d84c0717f2d83aee1379195eada8f24122ec0a77ddaf409",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-07-07T07:05:31.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/a94b761e3853d2328a511b6346d5771e99f51cfc5a45f5505464bc830272347b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-07-07T07:03:16.000Z",
      "arch": "aarch64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/b3185b732e31b60c52cd6cce141eeb084112e3cd93af4b9359f3a89ad1f717e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2-5",
      "date": "2026-07-07T07:05:28.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/525ad32b0aa6b382502e47a33c142be1ee66c908af82f3c989a2ec1211af2da2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2-5",
      "date": "2026-07-07T07:04:12.000Z",
      "arch": "emscripten",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/a347bae7ef1e87fe9e05500b2848425676669774006851944d20c73d52c695a9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-07-07T07:03:25.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/b26133d7b64de940cb1f333142b854e42a31229770f3e5615689a3cb345bca4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-07-07T07:02:41.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/2c7e5cc26a2dbb0d205acb57acb5ed0e3c4e47f60f91c235b3f83ae0078a89fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2-5",
      "date": "2026-07-07T07:03:17.000Z",
      "arch": "x86_64",
      "commit": "efcdc92b67b64c8e3155f0a5761a2854c42eb39f",
      "fileid": "https://r2.ropensci.org/bf1803e89170636e530656518d30889350649824a52f9766ebd99cf07919c0d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikldk/actions/runs/28847665025"
    }
  ]
}