{
  "_id": "6a51f6149b92047c28d53205",
  "Package": "simDNAmixtures",
  "Title": "Simulate Forensic DNA Mixtures",
  "Version": "1.1.3",
  "Authors@R": "person(\"Maarten\", \"Kruijver\", , \"maarten.kruijver@esr.cri.nz\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6890-7632\"))",
  "Description": "Mixed DNA profiles can be sampled according to models for\nprobabilistic genotyping. Peak height variability is modelled\nusing a log normal distribution or a gamma distribution. Sample\ncontributors may be related according to a pedigree.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://mkruijver.github.io/simDNAmixtures/",
  "Config/pak/sysreqs": "libxml2-dev",
  "Repository": "https://mkruijver.r-universe.dev",
  "Date/Publication": "2025-07-10 03:57:11 UTC",
  "RemoteUrl": "https://github.com/mkruijver/simdnamixtures",
  "RemoteRef": "HEAD",
  "RemoteSha": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-11 07:48:34 UTC",
    "User": "root"
  },
  "Author": "Maarten Kruijver [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6890-7632>)",
  "Maintainer": "Maarten Kruijver <maarten.kruijver@esr.cri.nz>",
  "_user": "mkruijver",
  "_type": "src",
  "_file": "simDNAmixtures_1.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/f3255a721be028bf423ead11bc602fe7ed305209d0f9a8dac4c9ccd2f8ee5dbd",
  "_filesize": 1060744,
  "_sha256": "f3255a721be028bf423ead11bc602fe7ed305209d0f9a8dac4c9ccd2f8ee5dbd",
  "_expires": "2026-10-19T07:51:47.000Z",
  "_created": "2026-07-11T07:48:34.000Z",
  "_published": "2026-07-11T07:51:48.851Z",
  "_jobs": [
    {
      "job": 86525233230,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246505897"
    },
    {
      "job": 86525233243,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246506041"
    },
    {
      "job": 86525233241,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8246503344"
    },
    {
      "job": 86525233238,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246504025"
    },
    {
      "job": 86524934396,
      "time": 255,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246484405"
    },
    {
      "job": 86525233235,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8246501565"
    },
    {
      "job": 86525233245,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8246498641"
    },
    {
      "job": 86525233244,
      "time": 96,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8246499127"
    },
    {
      "job": 86525233247,
      "time": 86,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8246497976"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205",
  "_status": "success",
  "_upstream": "https://github.com/mkruijver/simdnamixtures",
  "_commit": {
    "id": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
    "author": "mkruijver <maartenk@gmail.com>",
    "committer": "mkruijver <maartenk@gmail.com>",
    "message": "Bump version to 1.1.3\n",
    "time": 1752119831
  },
  "_maintainer": {
    "name": "Maarten Kruijver",
    "email": "maarten.kruijver@esr.cri.nz",
    "login": "mkruijver",
    "description": "",
    "uuid": 33736732,
    "orcid": "0000-0002-6890-7632"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "naturalsort",
      "role": "Imports"
    },
    {
      "package": "pedprobr",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pedtools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "mkruijver",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "mkruijver",
      "count": 201,
      "uuid": 33736732
    }
  ],
  "_userbio": {
    "uuid": 33736732,
    "type": "user",
    "name": "Maarten Kruijver",
    "followers": 6
  },
  "_downloads": {
    "count": 591,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simDNAmixtures"
  },
  "_devurl": "https://github.com/mkruijver/simdnamixtures",
  "_pkgdown": "https://mkruijver.github.io/simDNAmixtures/",
  "_searchresults": 22,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/simDNAmixtures.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mkruijver/simdnamixtures",
  "_realowner": "mkruijver",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2022-05-04"
    },
    {
      "version": "1.1.2",
      "date": "2025-04-14"
    }
  ],
  "_exports": [
    "allele_specific_stutter_model",
    "drop_model",
    "gamma_model",
    "gf_configuration",
    "global_stutter_model",
    "log_normal_model",
    "read_allele_freqs",
    "read_size_regression",
    "read_STRmix_kit_settings",
    "read_stutter_exceptions",
    "read_stutter_regression",
    "read_wide_table",
    "sample_contributor_genotypes",
    "sample_drop_model",
    "sample_gamma_model",
    "sample_genotype",
    "sample_log_normal_model",
    "sample_log_normal_parameters",
    "sample_log_normal_stutter_variance",
    "sample_LSAE",
    "sample_many_pedigree_genotypes",
    "sample_mixture_from_genotypes",
    "sample_mixtures",
    "sample_mixtures_fixed_parameters",
    "sample_mixtures_from_genotypes",
    "sample_offspring",
    "sample_pedigree_genotypes",
    "SMASH_to_wide_table",
    "stutter_type"
  ],
  "_datasets": [
    {
      "name": "kits",
      "title": "Properties such as loci, dye, sizes for most standard forensic kits",
      "object": "kits",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allele_specific_stutter_model",
      "title": "Stutter model where the expected stutter rate depends on the allele and locus",
      "topics": [
        "allele_specific_stutter_model"
      ]
    },
    {
      "page": "drop_model",
      "title": "Defines a (semi-continuous) drop model",
      "topics": [
        "drop_model"
      ]
    },
    {
      "page": "gamma_model",
      "title": "Defines a gamma model for peak height variability",
      "topics": [
        "gamma_model"
      ]
    },
    {
      "page": "gf_configuration",
      "title": "Stutters and size regressions for a GlobalFiler 3500 kit",
      "topics": [
        "gf_configuration"
      ]
    },
    {
      "page": "global_stutter_model",
      "title": "Global stutter model where the expected stutter rate is constant across alleles and loci",
      "topics": [
        "global_stutter_model"
      ]
    },
    {
      "page": "kits",
      "title": "Properties such as loci, dye, sizes for most standard forensic kits",
      "topics": [
        "kits"
      ]
    },
    {
      "page": "log_normal_model",
      "title": "Defines a log normal model for peak height variability",
      "topics": [
        "log_normal_model"
      ]
    },
    {
      "page": "read_allele_freqs",
      "title": "Read allele frequencies in FSIgen format (.csv)",
      "topics": [
        "read_allele_freqs"
      ]
    },
    {
      "page": "read_size_regression",
      "title": "Reads a size regression file",
      "topics": [
        "read_size_regression"
      ]
    },
    {
      "page": "read_STRmix_kit_settings",
      "title": "Read STRmix Kit Settings",
      "topics": [
        "read_STRmix_kit_settings"
      ]
    },
    {
      "page": "read_stutter_exceptions",
      "title": "Reads a stutter exceptions file with overrides for expected stutter ratios",
      "topics": [
        "read_stutter_exceptions"
      ]
    },
    {
      "page": "read_stutter_regression",
      "title": "Reads a stutter regression file",
      "topics": [
        "read_stutter_regression"
      ]
    },
    {
      "page": "read_wide_table",
      "title": "Read wide table (.txt) with Allele1, Allele2, ... columns as is",
      "topics": [
        "read_wide_table"
      ]
    },
    {
      "page": "sample_contributor_genotypes",
      "title": "Sample genotypes for mixture contributors according to allele frequencies",
      "topics": [
        "sample_contributor_genotypes"
      ]
    },
    {
      "page": "sample_drop_model",
      "title": "Sample drop model(s) with parameters according to priors",
      "topics": [
        "sample_drop_model"
      ]
    },
    {
      "page": "sample_gamma_model",
      "title": "Sample gamma model(s) with parameters according to priors",
      "topics": [
        "sample_gamma_model"
      ]
    },
    {
      "page": "sample_genotype",
      "title": "Sample a genotype according to allele frequencies",
      "topics": [
        "sample_genotype"
      ]
    },
    {
      "page": "sample_log_normal_model",
      "title": "Sample log normal model(s) with parameters according to priors",
      "topics": [
        "sample_log_normal_model"
      ]
    },
    {
      "page": "sample_log_normal_parameters",
      "title": "Sample log normal model parameters according to priors",
      "topics": [
        "sample_log_normal_parameters"
      ]
    },
    {
      "page": "sample_log_normal_stutter_variance",
      "title": "Sample log normal stutter variance parameters according to priors",
      "topics": [
        "sample_log_normal_stutter_variance"
      ]
    },
    {
      "page": "sample_LSAE",
      "title": "Sample Locus Specific Amplification Efficiency (LSAE) according to prior",
      "topics": [
        "sample_LSAE"
      ]
    },
    {
      "page": "sample_many_pedigree_genotypes",
      "title": "Sample (many) genotypes for pedigree members according to allele frequencies by allele dropping and possibly taking linkage into account by simulating recombination.",
      "topics": [
        "sample_many_pedigree_genotypes"
      ]
    },
    {
      "page": "sample_mixture_from_genotypes",
      "title": "Sample mixture profile with provided genotypes",
      "topics": [
        "sample_mixture_from_genotypes"
      ]
    },
    {
      "page": "sample_mixtures",
      "title": "Sample mixtures with random genotypes and random parameters according to priors",
      "topics": [
        "sample_mixtures"
      ]
    },
    {
      "page": "sample_mixtures_fixed_parameters",
      "title": "Sample mixtures with known genotypes and fixed parameters",
      "topics": [
        "sample_mixtures_fixed_parameters"
      ]
    },
    {
      "page": "sample_mixtures_from_genotypes",
      "title": "Sample mixtures with known genotypes and random parameters according to priors",
      "topics": [
        "sample_mixtures_from_genotypes"
      ]
    },
    {
      "page": "sample_offspring",
      "title": "Sample offspring from two parental genotypes",
      "topics": [
        "sample_offspring"
      ]
    },
    {
      "page": "sample_pedigree_genotypes",
      "title": "Sample genotypes for pedigree according to allele frequencies by allele dropping.",
      "topics": [
        "sample_pedigree_genotypes"
      ]
    },
    {
      "page": "SMASH_to_wide_table",
      "title": "Converts SMASH (SampleName, Marker, Allele, Size, Height) data to a wide table",
      "topics": [
        "SMASH_to_wide_table"
      ]
    },
    {
      "page": "stutter_type",
      "title": "Defines a stutter type to be used in the allele specific stutter model.",
      "topics": [
        "stutter_type"
      ]
    }
  ],
  "_readme": "https://github.com/mkruijver/simdnamixtures/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "evaluate",
    "generics",
    "glue",
    "highr",
    "kinship2",
    "knitr",
    "lattice",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "Matrix",
    "naturalsort",
    "pedmut",
    "pedprobr",
    "pedtools",
    "pillar",
    "pkgconfig",
    "quadprog",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "getting_started.Rmd",
      "filename": "getting_started.html",
      "title": "Getting started",
      "author": "Maarten Kruijver",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic log normal example",
        "Basic gamma example",
        "References"
      ],
      "created": "2022-05-01 20:54:06",
      "modified": "2024-06-21 11:59:43",
      "commits": 3
    },
    {
      "source": "simulating_YSTR_profiles.Rmd",
      "filename": "simulating_YSTR_profiles.html",
      "title": "Simulating YSTR profiles",
      "author": "Maarten Kruijver",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example",
        "Simulation"
      ],
      "created": "2024-06-26 15:37:10",
      "modified": "2024-12-18 10:52:55",
      "commits": 3
    }
  ],
  "_score": 4.643452676486188,
  "_indexed": true,
  "_nocasepkg": "simdnamixtures",
  "_universes": [
    "mkruijver"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-07-11T07:50:53.000Z",
      "distro": "resolute",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/933650e5d50c32932cc55ce7a8593167a5d07736aad4815240227f3e92b4191d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.3",
      "date": "2026-07-11T07:50:55.000Z",
      "distro": "resolute",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/aee89e579672d71a15fa08d46ef3e247a867420d2773f04d6c4aacac11d1c7fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-07-11T07:50:39.000Z",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/151240c6823f3799625d036dad63b21aa6c0874615f4aa5870c638f76a819c3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.3",
      "date": "2026-07-11T07:50:40.000Z",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/2f0254536e046c91b459f227e67d7ee2b993a2e204dd34666d0b6fc4315c708d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.3",
      "date": "2026-07-11T07:50:45.000Z",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/070c9b3f5a135bcd5cd3982bf393b676bbcacd6f638ec767650b55da97384340",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-07-11T07:49:53.000Z",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/7443e4ecdb980382926973b962d6779b8d8ad52dbeda515afba9454fcab25b84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-07-11T07:49:59.000Z",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/0516048161b0269e4d370fd7b21887e11ba073bb54e9cf7bc689fcccdc9d0bc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.3",
      "date": "2026-07-11T07:49:49.000Z",
      "commit": "b5d365328c0adab3eb12a82cae9cbad175dc1065",
      "fileid": "https://r2.ropensci.org/c1b3565794b693731978fc336ffb39b075c42b330de0b3c35da11c93ff4b2941",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mkruijver/actions/runs/29144996205"
    }
  ]
}