{
  "_id": "6a1f1033b401979e7341d71a",
  "Package": "diemr",
  "Title": "Genome Polarization via Diagnostic Index Expectation\nMaximization",
  "Version": "1.5.5",
  "Authors@R": "c(\nperson(given = \"Natalia\",\nfamily = \"Martinkova\",\nrole = c(\"aut\", \"cre\"),\nemail = \"martinkova@ivb.cz\",\ncomment = c(ORCID = \"0000-0003-4556-4363\")),\nperson(given = \"Stuart\",\nfamily = \"Baird\",\nrole = c(\"aut\"),\nemail = \"stuartj.e.baird@gmail.com\",\ncomment = c(ORCID = \"0000-0002-7144-9919\")))",
  "Description": "Implements a likelihood-based method for genome\npolarization, identifying which alleles of SNV markers belong\nto either side of a barrier to gene flow. The approach\nco-estimates individual assignment, barrier strength, and\ndivergence between sides, with direct application to studies of\nhybridization. Includes VCF-to-diem conversion and input\nchecks, support for mixed ploidy and parallelization, and tools\nfor visualization and diagnostic outputs. Based on diagnostic\nindex expectation maximization as described in Baird et al.\n(2023) <doi:10.1111/2041-210X.14010>.",
  "BugReports": "https://github.com/nmartinkova/diemr/issues",
  "URL": "https://nmartinkova.github.io/genome-polarisation/",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://nmartinkova.r-universe.dev",
  "Date/Publication": "2026-03-18 07:55:50 UTC",
  "RemoteUrl": "https://github.com/nmartinkova/diemr",
  "RemoteRef": "HEAD",
  "RemoteSha": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 08:23:49 UTC",
    "User": "root"
  },
  "Author": "Natalia Martinkova [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4556-4363>),\nStuart Baird [aut] (ORCID: <https://orcid.org/0000-0002-7144-9919>)",
  "Maintainer": "Natalia Martinkova <martinkova@ivb.cz>",
  "MD5sum": "06c3bd93983be1d0cdf0c946a4f09b3f",
  "_user": "nmartinkova",
  "_type": "src",
  "_file": "diemr_1.5.5.tar.gz",
  "_fileid": "ff64f70074fa4ad4eeefe8b6cff1abc349b44ec664f5971f0e53e446d390a078",
  "_filesize": 1782788,
  "_sha256": "ff64f70074fa4ad4eeefe8b6cff1abc349b44ec664f5971f0e53e446d390a078",
  "_created": "2026-05-17T08:23:49.000Z",
  "_published": "2026-06-02T17:17:39.557Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79129855201,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040803197"
    },
    {
      "job": 79129855159,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040802895"
    },
    {
      "job": 79129856337,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040800618"
    },
    {
      "job": 79129855670,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040800254"
    },
    {
      "job": 79129854500,
      "time": 218,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040785484"
    },
    {
      "job": 79129854490,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364861611"
    },
    {
      "job": 79129855039,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040796857"
    },
    {
      "job": 79129856178,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040796826"
    },
    {
      "job": 79129855359,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040797561"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nmartinkova/diemr",
  "_commit": {
    "id": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
    "author": "nmartinkova <martinkova@ivb.cz>",
    "committer": "nmartinkova <martinkova@ivb.cz>",
    "message": "Fixed bug in haploid genotype encoding in vcf2diem\n",
    "time": 1773820550
  },
  "_maintainer": {
    "name": "Natalia Martinkova",
    "email": "martinkova@ivb.cz",
    "login": "nmartinkova",
    "description": "",
    "uuid": 106244380,
    "orcid": "0000-0003-4556-4363"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "vcfR",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "circlize",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "nmartinkova",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 7
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.5",
      "date": "2025-09-11"
    }
  ],
  "_topics": [
    "bioinformatics",
    "diem",
    "diemr",
    "genome-admixture",
    "genome-polarisation",
    "genome-polarization",
    "genomics",
    "hybridisation",
    "hybridization",
    "population-genetics",
    "population-genomics",
    "speciation"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nmartinkova",
      "count": 19,
      "uuid": 106244380
    }
  ],
  "_userbio": {
    "uuid": 106244380,
    "type": "user",
    "name": "Natália Martínková"
  },
  "_downloads": {
    "count": 548,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/diemr"
  },
  "_devurl": "https://github.com/nmartinkova/diemr",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/diemr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nmartinkova/diemr",
  "_realowner": "nmartinkova",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2022-03-29"
    },
    {
      "version": "1.1",
      "date": "2022-10-19"
    },
    {
      "version": "1.1.1",
      "date": "2023-02-02"
    },
    {
      "version": "1.2",
      "date": "2023-03-21"
    },
    {
      "version": "1.2.1",
      "date": "2023-04-19"
    },
    {
      "version": "1.2.2",
      "date": "2023-07-11"
    },
    {
      "version": "1.2.3",
      "date": "2024-04-28"
    },
    {
      "version": "1.3",
      "date": "2024-06-14"
    },
    {
      "version": "1.4",
      "date": "2024-07-16"
    },
    {
      "version": "1.4.1",
      "date": "2024-09-23"
    },
    {
      "version": "1.4.2",
      "date": "2024-12-02"
    },
    {
      "version": "1.4.3",
      "date": "2025-01-20"
    },
    {
      "version": "1.5",
      "date": "2025-09-11"
    },
    {
      "version": "1.5.1",
      "date": "2025-10-09"
    },
    {
      "version": "1.5.2",
      "date": "2025-12-11"
    },
    {
      "version": "1.5.3",
      "date": "2026-01-13"
    },
    {
      "version": "1.5.4",
      "date": "2026-03-09"
    },
    {
      "version": "1.5.5",
      "date": "2026-03-18"
    }
  ],
  "_exports": [
    "CheckDiemFormat",
    "diem",
    "emPolarise",
    "hybridIndex",
    "importPolarized",
    "pHetErrOnStateCount",
    "plotDeFinetti",
    "plotMarkerAxis",
    "plotPolarized",
    "rank2map",
    "readIncludedSites",
    "smoothPolarizedGenotypes",
    "sStateCount",
    "variantSites",
    "vcf2diem"
  ],
  "_help": [
    {
      "page": "brenthis",
      "title": "Dataset of Butterfly Genotypes",
      "topics": [
        "brenthis"
      ]
    },
    {
      "page": "CheckDiemFormat",
      "title": "diem input file checker",
      "topics": [
        "CheckDiemFormat"
      ]
    },
    {
      "page": "diem",
      "title": "Diagnostic Index Expectation Maximisation",
      "topics": [
        "diem"
      ]
    },
    {
      "page": "emPolarise",
      "title": "Polarises a marker",
      "topics": [
        "emPolarise"
      ]
    },
    {
      "page": "hybridIndex",
      "title": "Compute hybrid index from genotypes, files, or numeric values",
      "topics": [
        "hybridIndex"
      ]
    },
    {
      "page": "importPolarized",
      "title": "Imports genomic data polarized according to the specification",
      "topics": [
        "importPolarized"
      ]
    },
    {
      "page": "ModelOfDiagnostic",
      "title": "Model of Diagnostic Marker Based on All Individual State Counts",
      "topics": [
        "ModelOfDiagnostic"
      ]
    },
    {
      "page": "myotis",
      "title": "Dataset of Modified Genotypes of Bats",
      "topics": [
        "myotis"
      ]
    },
    {
      "page": "pHetErrOnStateCount",
      "title": "Hybrid index, heterozygosity, error rate",
      "topics": [
        "pHetErrOnStateCount"
      ]
    },
    {
      "page": "plotDeFinetti",
      "title": "Plot the De Finetti Diagram for Polarized Genotypes",
      "topics": [
        "plotDeFinetti"
      ]
    },
    {
      "page": "plotMarkerAxis",
      "title": "Add a Marker Axis with Chromosome Names to a Plot of Polarized Genotypes",
      "topics": [
        "plotMarkerAxis"
      ]
    },
    {
      "page": "plotPolarized",
      "title": "Plot Polarized Genotypes",
      "topics": [
        "plotPolarized"
      ]
    },
    {
      "page": "rank2map",
      "title": "Convert SNP Ranks To Windows Corresponding to Mapping Distance",
      "topics": [
        "rank2map"
      ]
    },
    {
      "page": "readIncludedSites",
      "title": "Read genomic sites from a BED-like file",
      "topics": [
        "readIncludedSites"
      ]
    },
    {
      "page": "smoothPolarizedGenotypes",
      "title": "Smooth Polarized Genotype States",
      "topics": [
        "smoothPolarizedGenotypes"
      ]
    },
    {
      "page": "sStateCount",
      "title": "Count states in a vector",
      "topics": [
        "sStateCount"
      ]
    },
    {
      "page": "testdata",
      "title": "Dataset of Fish Genotypes",
      "topics": [
        "testdata"
      ]
    },
    {
      "page": "variantSites",
      "title": "Identify Variant Sites in Genotype Files",
      "topics": [
        "variantSites"
      ]
    },
    {
      "page": "vcf2diem",
      "title": "Convert vcf files to diem format",
      "topics": [
        "vcf2diem"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nmartinkova/diemr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/nmartinkova/diemr/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "circlize",
    "cli",
    "cluster",
    "colorspace",
    "data.table",
    "digest",
    "dplyr",
    "generics",
    "GlobalOptions",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memuse",
    "mgcv",
    "nlme",
    "permute",
    "pillar",
    "pinfsc50",
    "pkgconfig",
    "R6",
    "Rcpp",
    "rlang",
    "shape",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vcfR",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "diemr-diagnostic-index-expecation-maximisation-in-r.Rmd",
      "filename": "diemr-diagnostic-index-expecation-maximisation-in-r.html",
      "title": "diemr: Diagnostic index expectation maximisation in R",
      "author": "Natália Martínková, Stuart J.E. Baird",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick start",
        "Input data",
        "Multiple compartments with different ploidies",
        "Frequently asked questions"
      ],
      "created": "2025-09-11 11:20:27",
      "modified": "2025-09-11 11:20:27",
      "commits": 1
    },
    {
      "source": "Importing-data-for-genome-polarisation.Rmd",
      "filename": "Importing-data-for-genome-polarisation.html",
      "title": "Importing data for genome polarisation",
      "author": "Natália Martínková, Stuart J.E. Baird",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick start",
        "Principle of conversion to diem format",
        "Invariant sites and indels",
        "Sites not informative for genome polarisation",
        "Haploid data",
        "Diploid data",
        "Heterozygotes in DNA sequence alignments",
        "Variant call format",
        "Polyploid data"
      ],
      "created": "2025-09-11 11:20:27",
      "modified": "2025-09-11 11:20:27",
      "commits": 1
    },
    {
      "source": "Understanding-genome-polarisation-output-files.Rmd",
      "filename": "Understanding-genome-polarisation-output-files.html",
      "title": "Understanding genome polarisation output files",
      "author": "Natália Martínková, Stuart J.E. Baird",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Obligatory outputs",
        "MarkerDiagnosticsWithOptimalPolarities",
        "HIwithOptimalPolarities",
        "I4withOptimalPolarities",
        "Optional outputs",
        "The user perspective",
        "NullMarkerPolarities",
        "MarkersWithChangedPolarities",
        "MarkersWithChangedPolarities-(compartmentNumber)",
        "MarkerDiagnostics(iteration)-(compartmentNumber)",
        "Iteration-specific graphics",
        "WarpSwitch files",
        "Hybrid index files",
        "The log file",
        "References"
      ],
      "created": "2025-09-11 11:20:27",
      "modified": "2025-09-11 11:20:27",
      "commits": 1
    }
  ],
  "_score": 5.1303337684950066,
  "_indexed": true,
  "_nocasepkg": "diemr",
  "_universes": [
    "nmartinkova"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.5",
      "date": "2026-05-17T08:26:12.000Z",
      "distro": "noble",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "881adec8870f7c9755db4a9fc57bedddd62e16d7c5d0e10e026f3b1b91adf8dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.5",
      "date": "2026-05-17T08:26:10.000Z",
      "distro": "noble",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "04e950f1061c5f04705afbce6fdbb6f72ec6e22270a156b1b51bb171216e7443",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.5",
      "date": "2026-05-17T08:26:01.000Z",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "7a498af06ffcc3642d45dc302ef423617e359df5d2a6b701bf63adaa636b428e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.5",
      "date": "2026-05-17T08:25:53.000Z",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "6f75eb535603f7545905ccd19e7718e1987c179da0860578a7f741b8309f1e5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.5",
      "date": "2026-05-17T08:25:09.000Z",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "3389247574a04003fd152ce28d20ed12f815b82a02d04563b687635b6bef8acb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.5",
      "date": "2026-05-17T08:25:09.000Z",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "b5deec28d9d54b134bdcd01ad928b574d4f1d0c639ede33d02948911cd9e31b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.5",
      "date": "2026-05-17T08:25:11.000Z",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "b4575620729f902b2a5f94db03266bc79f91c6da4524a650ba6450096e120e01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.5",
      "date": "2026-06-02T17:17:12.000Z",
      "commit": "8dc3459a8abcee31ea8e075f4962a9094d8203e8",
      "fileid": "ba53271f4b31bcf8b1b7d61eaa2faa37783d76ba9c57cbb23f488ed57a203b17",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nmartinkova/actions/runs/25985705231"
    }
  ]
}