{
  "_id": "6ac8ca7dde46216d5edd7454",
  "Package": "moimix",
  "Title": "Estimating mulitplicity of infection from high-throughput\nsequencing data",
  "Version": "0.0.2.9001",
  "Authors@R": "\"Stuart Lee <lee.s@wehi.edu.au> [aut, cre]\"",
  "Description": "Evaluate multiplicity of infection (MOI) of organisms\nusing binomial mixture models and other population genetics\nmethods. moimix can be used to simulate single nucleotide\nvariant (SNV) data from samples with known MOI.",
  "License": "GPL-3 + file LICENSE",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.0",
  "URL": "https://github.com/bahlolab/moimix",
  "BugReports": "https://github.com/bahlolab/moimix/issues",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://plasmogenepi.r-universe.dev",
  "Date/Publication": "2020-04-13 09:59:33 UTC",
  "RemoteUrl": "https://github.com/bahlolab/moimix",
  "RemoteRef": "HEAD",
  "RemoteSha": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 10:21:48 UTC",
    "User": "root"
  },
  "Author": "\"Stuart Lee\" [aut, cre]",
  "Maintainer": "\"Stuart Lee\" <lee.s@wehi.edu.au>",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "moimix_0.0.2.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/0ed1c0b699839302cea3e1a741249344759bb0dea07a214cdf5e9a15abd4d23a",
  "_filesize": 3368888,
  "_sha256": "0ed1c0b699839302cea3e1a741249344759bb0dea07a214cdf5e9a15abd4d23a",
  "_expires": "2027-01-17T11:05:30.000Z",
  "_created": "2026-10-09T10:21:48.000Z",
  "_published": "2026-10-09T11:05:32.862Z",
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113776167583,
      "time": 257,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11610276238"
    },
    {
      "job": 113776167448,
      "time": 255,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11611195864"
    },
    {
      "job": 113776167565,
      "time": 205,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11611672848"
    },
    {
      "job": 113776167506,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11611896670"
    },
    {
      "job": 113774507115,
      "time": 288,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11610615398"
    },
    {
      "job": 113776167581,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11610071069"
    },
    {
      "job": 113776167606,
      "time": 206,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11610590900"
    },
    {
      "job": 113776167632,
      "time": 147,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11610136019"
    },
    {
      "job": 113776167671,
      "time": 198,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11611030814"
    }
  ],
  "_upstream": "https://github.com/bahlolab/moimix",
  "_commit": {
    "id": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
    "author": "Stuart Lee <lee.s@wehi.edu.au>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #32 from sa-lee/master\n\nfix docs, R CMD CHECK no warnings/errors",
    "time": 1586771973
  },
  "_maintainer": {
    "name": "\"Stuart Lee\"",
    "email": "lee.s@wehi.edu.au"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "flexmix",
      "role": "Depends"
    },
    {
      "package": "MCMCpack",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "SeqArray",
      "version": ">= 1.12.3",
      "role": "Imports"
    },
    {
      "package": "SeqVarTools",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "IRanges",
      "role": "Imports"
    },
    {
      "package": "S4Vectors",
      "role": "Imports"
    },
    {
      "package": "GenomicRanges",
      "role": "Imports"
    },
    {
      "package": "BiocParallel",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    }
  ],
  "_owner": "bahlolab",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "katrinleinweber",
      "count": 1,
      "uuid": 9948149
    }
  ],
  "_userbio": {
    "uuid": 140542976,
    "type": "organization",
    "name": "PlasmoGenEpi",
    "followers": 1,
    "description": "We are a network of scientists who have come together since 2018 to address challenges in malaria genomic epidemiology."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/moimix"
  },
  "_devurl": "https://github.com/bahlolab/moimix",
  "_searchresults": 18,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/moimix.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "alleleCounts",
    "bafMatrix",
    "barcodes",
    "binommix",
    "callMajor",
    "coverageBySample",
    "coverageBySNP",
    "dtbeta",
    "dtexp",
    "extractBarcode",
    "extractPED",
    "generateWindows",
    "getBarcodeVariants",
    "getCoordinates",
    "getDosage",
    "getFws",
    "getGATKInfo",
    "getHeterozygosity",
    "getHeterozygosityBySample",
    "getMAF",
    "getMSE",
    "getTheta",
    "infomat",
    "lltexp",
    "mleTexp",
    "mse",
    "perSiteAlleleCoverage",
    "perSiteCoverageBySample",
    "perSiteCoverageBySNP",
    "readEstMOI",
    "rtexp",
    "seMM",
    "simulateMOI"
  ],
  "_datasets": [
    {
      "name": "maf_summary",
      "title": "Minor Allele Frequenies of ~ 30,000 Plasmodium falciparum SNPs.",
      "object": "maf_summary",
      "class": [
        "data.frame"
      ],
      "fields": [
        "chromosome",
        "position",
        "WestAfrica",
        "CentralAfrica",
        "EastAfrica",
        "SouthAsia",
        "WestSouthEastAsia",
        "EastSouthEastAsia",
        "Oceania",
        "SouthAmerica"
      ],
      "rows": 29621,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "alleleCounts",
      "title": "Return allele counts from a genofile based on read counts",
      "topics": [
        "alleleCounts"
      ]
    },
    {
      "page": "bafMatrix",
      "title": "Compute B-allele frequency spectrum genome-wide",
      "topics": [
        "bafMatrix"
      ]
    },
    {
      "page": "barcodes",
      "title": "Generate GenomicRanges object from GDS file",
      "topics": [
        "barcodes"
      ]
    },
    {
      "page": "binommix",
      "title": "Fit binomial mixture model on coverage data",
      "topics": [
        "binommix"
      ]
    },
    {
      "page": "binommixCDF",
      "title": "CDF for binomial mixture model",
      "topics": [
        "binommixCDF"
      ]
    },
    {
      "page": "callMajor",
      "title": "Get major allele calls for isolates from BAF matrix",
      "topics": [
        "callMajor"
      ]
    },
    {
      "page": "ciMM",
      "title": "Generate Confidence Intervals for parameter estimates using estimated Fisher Information Matrix",
      "topics": [
        "ciMM"
      ]
    },
    {
      "page": "coverageBySample",
      "title": "SNP coverage rates by sample thresholds",
      "topics": [
        "coverageBySample"
      ]
    },
    {
      "page": "coverageBySNP",
      "title": "Sample coverage rates by SNP thresholds",
      "topics": [
        "coverageBySNP"
      ]
    },
    {
      "page": "dtbeta",
      "title": "Truncated beta distribution",
      "topics": [
        "dtbeta",
        "ptbeta",
        "qtbeta",
        "rtbeta"
      ]
    },
    {
      "page": "dtexp",
      "title": "Truncated exponential distrubition",
      "topics": [
        "dtexp",
        "lltexp",
        "mleTexp"
      ]
    },
    {
      "page": "extractBarcode",
      "title": "Extract barcode for use in COIL program",
      "topics": [
        "extractBarcode"
      ]
    },
    {
      "page": "extractPED",
      "title": "Extract PED files from gds",
      "topics": [
        "extractPED"
      ]
    },
    {
      "page": "gambian_isolates",
      "title": "Plasmodium falciparum SNV data from Gambia.",
      "topics": [
        "gambian_isolates"
      ]
    },
    {
      "page": "generateWindows",
      "title": "Construct non-overlapping Genomic Windows by Chromosome",
      "topics": [
        "generateWindows"
      ]
    },
    {
      "page": "getBarcodeVariants",
      "title": "Helper functions for extracting variant IDs corresponding to previously published barcodes.",
      "topics": [
        "getBarcodeVariants"
      ]
    },
    {
      "page": "getCoordinates",
      "title": "Helper function for producing data frame of genomic coordinates",
      "topics": [
        "getCoordinates"
      ]
    },
    {
      "page": "getDosage",
      "title": "Helper function for producing matrix of allele dosages",
      "topics": [
        "getDosage"
      ]
    },
    {
      "page": "getFws",
      "title": "Compute Fws within-host diversity statistic",
      "topics": [
        "getFws"
      ]
    },
    {
      "page": "getGATKInfo",
      "title": "Get GATK info tags",
      "topics": [
        "getGATKInfo"
      ]
    },
    {
      "page": "getHeterozygosity",
      "title": "Compute population level heterozygosity",
      "topics": [
        "getHeterozygosity"
      ]
    },
    {
      "page": "getHeterozygosityBySample",
      "title": "Compute heterozygosity by sample",
      "topics": [
        "getHeterozygosityBySample"
      ]
    },
    {
      "page": "getMAF",
      "title": "Compute minor allele frequency",
      "topics": [
        "getMAF"
      ]
    },
    {
      "page": "getMSE",
      "title": "Model assessment for fitted model using MSE",
      "topics": [
        "getMSE"
      ]
    },
    {
      "page": "getTheta",
      "title": "Return estimated model parameters",
      "topics": [
        "getTheta"
      ]
    },
    {
      "page": "infomat",
      "title": "Fisher Information Approximation",
      "topics": [
        "infomat"
      ]
    },
    {
      "page": "maf_summary",
      "title": "Minor Allele Frequenies of ~ 30,000 Plasmodium falciparum SNPs.",
      "topics": [
        "maf_summary"
      ]
    },
    {
      "page": "moimix",
      "title": "Evaluate muliplicity of infection in malaria parasites",
      "topics": [
        "moimix"
      ]
    },
    {
      "page": "mse",
      "title": "Mean Square Error for binomial mixture model",
      "topics": [
        "mse"
      ]
    },
    {
      "page": "perSiteAlleleCoverage",
      "title": "Compute per site per sample coverage",
      "topics": [
        "perSiteAlleleCoverage"
      ]
    },
    {
      "page": "perSiteCoverage",
      "title": "Compute per variant depth accross all samples.",
      "topics": [
        "perSiteCoverage"
      ]
    },
    {
      "page": "perSiteCoverageBySample",
      "title": "Compute the proportion of samples covered up any number of bases",
      "topics": [
        "perSiteCoverageBySample"
      ]
    },
    {
      "page": "perSiteCoverageBySNP",
      "title": "Compute proportion of SNPs covered up to a lower bound of bases within each sample.",
      "topics": [
        "perSiteCoverageBySNP"
      ]
    },
    {
      "page": "plot.bafMatrix",
      "title": "Plot bafMatrix object",
      "topics": [
        "plot.bafMatrix"
      ]
    },
    {
      "page": "readEstMOI",
      "title": "Parse estMOI log files in a directory into tidy data frame",
      "topics": [
        "readEstMOI"
      ]
    },
    {
      "page": "rtexp",
      "title": "Truncated exponential distribution random number generation",
      "topics": [
        "rtexp"
      ]
    },
    {
      "page": "sampleMM",
      "title": "Generate iid binomial mixture random variables for testing EM implementation",
      "topics": [
        "sampleMM"
      ]
    },
    {
      "page": "scaledProportion",
      "title": "sum number of samples/snps meeting coverage threshold scaled by total number of SNPs/proportions",
      "topics": [
        "scaledProportion"
      ]
    },
    {
      "page": "seMM",
      "title": "Compute standard errors for mixture model parameter estimates",
      "topics": [
        "seMM"
      ]
    },
    {
      "page": "simulateMOI",
      "title": "Simple simulation of MOI SNV data",
      "topics": [
        "simulateMOI"
      ]
    }
  ],
  "_readme": "https://github.com/bahlolab/moimix/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "BH",
    "Biobase",
    "BiocGenerics",
    "BiocParallel",
    "Biostrings",
    "bit",
    "bit64",
    "boot",
    "broom",
    "cli",
    "clipr",
    "coda",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "digest",
    "dplyr",
    "farver",
    "flexmix",
    "forcats",
    "foreach",
    "formatR",
    "formula.tools",
    "futile.logger",
    "futile.options",
    "gdsfmt",
    "generics",
    "GenomicRanges",
    "glmnet",
    "glue",
    "GWASExactHW",
    "haven",
    "hms",
    "IRanges",
    "iterators",
    "jomo",
    "labeling",
    "lambda.r",
    "lattice",
    "lifecycle",
    "lme4",
    "logistf",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "mgcv",
    "mice",
    "minqa",
    "mitml",
    "modeltools",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "operator.tools",
    "ordinal",
    "pan",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rpart",
    "S4Vectors",
    "scales",
    "SeqArray",
    "Seqinfo",
    "SeqVarTools",
    "shape",
    "snow",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "XVector"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to moimix package",
      "author": "Stuart Lee",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Key functions in moimix",
        "Data Formats",
        "Converting a VCF to GDS format",
        "Case study: Plasmodium falciparum isolates from The Gambia.",
        "Estimating the BAF matrix",
        "Estimating MOI with binommix",
        "Estimating MOI with $F_{ws}$",
        "References",
        "Session Info"
      ],
      "created": "2016-02-18 01:50:07",
      "modified": "2020-04-13 09:59:33",
      "commits": 15
    }
  ],
  "_score": 3.6532125137753435,
  "_indexed": false,
  "_nocasepkg": "moimix",
  "_universes": [
    "plasmogenepi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:24:43.000Z",
      "distro": "resolute",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/3b1aa183e7ea92dd795ac898b3a6f45f903048dfcaf14c73fdc8de7e387de579",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:24:46.000Z",
      "distro": "resolute",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/01cc66110142499a2f6e527e22a6985a6d187df92d3be06dfe9a9d94129d6e0c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2.9001",
      "date": "2026-10-09T11:03:21.000Z",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/ca38ed0e993095e3dec431155db61254e4f2e4e5ea77f6e0408e3e7ae82e4103",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:56:10.000Z",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/2d6ea5585e6e284097650275269033e6a82b755f1b4cc90e49364b8c424fcb41",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:24:34.000Z",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/fe95695dd6108ff856d3b88d9a678e58fae543a645feca28dde77f06f53440e6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:23:44.000Z",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/8cd7492994babc38491c11c56cb08808f1e18bdaf235cb94d23a3722fc3c98b7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:23:31.000Z",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/ea2310b99ffa8b8599f0e518b0b2b365d394f156e10a1e1a95ad4062b4cd0d6a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-10-09T10:23:51.000Z",
      "commit": "802eaf1fab653690b1b1f1475c879b5189ee40ae",
      "fileid": "https://r2.ropensci.org/715cc97f1c74b70dea7af44b0b76973635d2a3be61dd15a481aa29cbaac2f579",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/37916652982"
    }
  ]
}