{
  "_id": "6a1f20f3b401979e73420503",
  "Package": "ldsep",
  "Title": "Linkage Disequilibrium Shrinkage Estimation for Polyploids",
  "Version": "2.1.6",
  "Authors@R": "person(given = \"David\",\nfamily = \"Gerard\",\nrole = c(\"aut\", \"cre\"),\nemail = \"gerard.1787@gmail.com\",\ncomment = c(ORCID = \"0000-0001-9450-5023\"))",
  "Description": "Estimate haplotypic or composite pairwise linkage\ndisequilibrium (LD) in polyploids, using either genotypes or\ngenotype likelihoods. Support is provided to estimate the\npopular measures of LD: the LD coefficient D, the standardized\nLD coefficient D', and the Pearson correlation coefficient r.\nAll estimates are returned with corresponding standard errors.\nThese estimates and standard errors can then be used for\nshrinkage estimation. The main functions are ldfast(), ldest(),\nmldest(), sldest(), plot.lddf(), format_lddf(), and ldshrink().\nDetails of the methods are available in Gerard (2021a)\n<doi:10.1111/1755-0998.13349> and Gerard (2021b)\n<doi:10.1038/s41437-021-00462-5>.",
  "License": "GPL (>= 3)",
  "BugReports": "https://github.com/dcgerard/ldsep/issues",
  "URL": "https://dcgerard.github.io/ldsep/",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Repository": "https://dcgerard.r-universe.dev",
  "Date/Publication": "2025-09-18 16:41:12 UTC",
  "RemoteUrl": "https://github.com/dcgerard/ldsep",
  "RemoteRef": "HEAD",
  "RemoteSha": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-16 07:41:47 UTC",
    "User": "root"
  },
  "Author": "David Gerard [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9450-5023>)",
  "Maintainer": "David Gerard <gerard.1787@gmail.com>",
  "MD5sum": "d1102ac93db2e75369edc23bcc93511a",
  "_user": "dcgerard",
  "_type": "src",
  "_file": "ldsep_2.1.6.tar.gz",
  "_fileid": "3f5b6c4b31e4c2dc1b1b32e9ed04a7e74c0260f2a8cfdb0c327a13de4940ad39",
  "_filesize": 892195,
  "_sha256": "3f5b6c4b31e4c2dc1b1b32e9ed04a7e74c0260f2a8cfdb0c327a13de4940ad39",
  "_created": "2026-05-16T07:41:47.000Z",
  "_published": "2026-06-02T18:29:07.005Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79143139192,
      "time": 215,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031697612"
    },
    {
      "job": 79143138883,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031697090"
    },
    {
      "job": 79143139363,
      "time": 198,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031695680"
    },
    {
      "job": 79143139499,
      "time": 218,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031698031"
    },
    {
      "job": 79143139509,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031684886"
    },
    {
      "job": 79143139373,
      "time": 212,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031697421"
    },
    {
      "job": 79143139170,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031685171"
    },
    {
      "job": 79143138988,
      "time": 209,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031696916"
    },
    {
      "job": 79143138418,
      "time": 372,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031672032"
    },
    {
      "job": 79143138193,
      "time": 206,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366467876"
    },
    {
      "job": 79143138938,
      "time": 218,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031698079"
    },
    {
      "job": 79143139045,
      "time": 182,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031693668"
    },
    {
      "job": 79143139070,
      "time": 216,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031697764"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dcgerard/ldsep",
  "_commit": {
    "id": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
    "author": "dcgerard <gerard.1787@gmail.com>",
    "committer": "dcgerard <gerard.1787@gmail.com>",
    "message": "remove license badge from readme since throwing a warning on winbuilder\n",
    "time": 1758213672
  },
  "_maintainer": {
    "name": "David Gerard",
    "email": "gerard.1787@gmail.com",
    "login": "dcgerard",
    "uuid": 14183481,
    "orcid": "0000-0001-9450-5023"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "ashr",
      "role": "Imports"
    },
    {
      "package": "corrplot",
      "role": "Imports"
    },
    {
      "package": "lpSolve",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "modeest",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "updog",
      "version": ">= 2.0.2",
      "role": "Suggests"
    },
    {
      "package": "VariantAnnotation",
      "role": "Suggests"
    }
  ],
  "_owner": "dcgerard",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "dcgerard",
      "count": 149,
      "uuid": 14183481
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 14183481,
    "type": "user",
    "name": "David Gerard",
    "description": "Statistician interested in multivariate analysis, hierarchical/empirical Bayesian modeling, and biological applications."
  },
  "_downloads": {
    "count": 195,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ldsep"
  },
  "_devurl": "https://github.com/dcgerard/ldsep",
  "_pkgdown": "https://dcgerard.github.io/ldsep/",
  "_searchresults": 28,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ldsep.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dcgerard/ldsep",
  "_realowner": "dcgerard",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-08-02"
    },
    {
      "version": "1.1.0",
      "date": "2020-11-14"
    },
    {
      "version": "2.0.1",
      "date": "2021-02-12"
    },
    {
      "version": "2.0.2",
      "date": "2021-02-17"
    },
    {
      "version": "2.1.0",
      "date": "2021-06-11"
    },
    {
      "version": "2.1.2",
      "date": "2021-08-10"
    },
    {
      "version": "2.1.4",
      "date": "2022-02-11"
    },
    {
      "version": "2.1.5",
      "date": "2022-10-19"
    },
    {
      "version": "2.1.6",
      "date": "2025-09-18"
    }
  ],
  "_exports": [
    "Dprime",
    "format_lddf",
    "get_prob_array",
    "gl_to_gp",
    "is.lddf",
    "ldest",
    "ldest_comp",
    "ldest_hap",
    "ldfast",
    "ldshrink",
    "mldest",
    "pbnorm_dist",
    "pvcalc",
    "slcor",
    "sldest",
    "zshrink"
  ],
  "_datasets": [
    {
      "name": "glike",
      "title": "Genotype log-likelihoods from 'uit'",
      "object": "glike",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "gp",
      "title": "Posterior probabilities from 'uit'",
      "object": "gp",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "uit",
      "title": "Updog fits on the data from Uitdewilligen et. al. (2013)",
      "object": "uit",
      "class": [
        "multidog"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "Dprime",
      "title": "Get the standardized composite D'.",
      "topics": [
        "Dprime"
      ]
    },
    {
      "page": "format_lddf",
      "title": "Format an element of 'mldest()' or 'sldest()' into an upper-triangular matrix.",
      "topics": [
        "format_lddf"
      ]
    },
    {
      "page": "get_prob_array",
      "title": "Obtain the distribution of genotypes given haplotype frequencies under HWE",
      "topics": [
        "get_prob_array"
      ]
    },
    {
      "page": "gl_to_gp",
      "title": "Normalize genotype likelihoods to posterior probabilities.",
      "topics": [
        "gl_to_gp"
      ]
    },
    {
      "page": "glike",
      "title": "Genotype log-likelihoods from 'uit'",
      "topics": [
        "glike"
      ]
    },
    {
      "page": "gp",
      "title": "Posterior probabilities from 'uit'",
      "topics": [
        "gp"
      ]
    },
    {
      "page": "is.lddf",
      "title": "Tests if an argument is a 'lddf' object.",
      "topics": [
        "is.lddf"
      ]
    },
    {
      "page": "ldest",
      "title": "Pairwise LD estimation in polyploids.",
      "topics": [
        "ldest"
      ]
    },
    {
      "page": "ldest_comp",
      "title": "Estimates of composite pairwise LD based either on genotype estimates or genotype likelihoods.",
      "topics": [
        "ldest_comp"
      ]
    },
    {
      "page": "ldest_hap",
      "title": "Estimate haplotypic pair-wise LD using either genotypes or genotype likelihoods.",
      "topics": [
        "ldest_hap"
      ]
    },
    {
      "page": "ldfast",
      "title": "Fast bias-correction for LD Estimation",
      "topics": [
        "ldfast"
      ]
    },
    {
      "page": "ldshrink",
      "title": "Obtain shrinkage estimates of correlation from output of 'mldest()' or 'sldest()'.",
      "topics": [
        "ldshrink"
      ]
    },
    {
      "page": "mldest",
      "title": "Estimate all pair-wise LD's in a collection of SNPs using genotypes or genotype likelihoods.",
      "topics": [
        "mldest"
      ]
    },
    {
      "page": "pbnorm_dist",
      "title": "Returns distribution of proportional bivariate normal.",
      "topics": [
        "pbnorm_dist"
      ]
    },
    {
      "page": "plot.lddf",
      "title": "Plot the output of 'mldest()' or 'sldest()' using 'corrplot()'",
      "topics": [
        "plot.lddf"
      ]
    },
    {
      "page": "pvcalc",
      "title": "Calculate prior variances from a matrix of prior genotype probabilities.",
      "topics": [
        "pvcalc"
      ]
    },
    {
      "page": "slcor",
      "title": "Sliding window correlation",
      "topics": [
        "slcor"
      ]
    },
    {
      "page": "sldest",
      "title": "Sliding window LD estimation",
      "topics": [
        "sldest"
      ]
    },
    {
      "page": "uit",
      "title": "Updog fits on the data from Uitdewilligen et. al. (2013)",
      "topics": [
        "uit"
      ]
    },
    {
      "page": "zshrink",
      "title": "Shrinks Fisher-z transformed correlation estimates and returns resulting correlation estimates.",
      "topics": [
        "zshrink"
      ]
    }
  ],
  "_pkglogo": "https://github.com/dcgerard/ldsep/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/dcgerard/ldsep/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ashr",
    "clue",
    "cluster",
    "codetools",
    "corrplot",
    "doParallel",
    "etrunct",
    "fBasics",
    "foreach",
    "gss",
    "invgamma",
    "irlba",
    "iterators",
    "lattice",
    "lpSolve",
    "MASS",
    "Matrix",
    "matrixStats",
    "mixsqp",
    "modeest",
    "Rcpp",
    "RcppArmadillo",
    "rmutil",
    "rpart",
    "spatial",
    "SQUAREM",
    "stable",
    "stabledist",
    "statip",
    "timeDate",
    "timeSeries",
    "truncnorm"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "fast.Rmd",
      "filename": "fast.html",
      "title": "Fast LD Estimation",
      "author": "David Gerard",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Analysis",
        "References"
      ],
      "created": "2020-09-14 19:25:51",
      "modified": "2025-09-17 23:38:43",
      "commits": 8
    },
    {
      "source": "vcf.Rmd",
      "filename": "vcf.html",
      "title": "LD Estimation Pipeline from VCF",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "Analysis",
        "Extract data from a VCF file using VariantAnnotation",
        "Genotype individuals using updog",
        "Extracting Log-likelihoods using fitPoly",
        "Estimate LD using ldsep",
        "References"
      ],
      "created": "2020-10-23 18:15:55",
      "modified": "2025-09-18 13:31:46",
      "commits": 11
    }
  ],
  "_score": 5.488550716500444,
  "_indexed": true,
  "_nocasepkg": "ldsep",
  "_universes": [
    "dcgerard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-05-16T07:45:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "326eac895be2bf23c46cc6da34656218caa595456154a73857678af2b631d43a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-05-16T07:45:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "1fdc6775930fa488d211cbab7f312c7fb41c2b872e51f28fdf6e2325f3751ef2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-05-16T07:45:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "0a4ecb2207dd9824a3a4bc307712c9a03b0a925be0fdd1c9fb8609b4c00a9760",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-05-16T07:45:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "60bbd6baee4438da5c8dbf345dfbdacd6b4d3a8cb401a0e1d2816c6c09d5bc11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-05-16T07:44:00.000Z",
      "arch": "aarch64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "766f191af413b90e688a6c7de2d6caf7385a868ade5c344b49c89f4cb777cd56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-05-16T07:45:01.000Z",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "7cebeb37797caad7cfac5270aeb1977e3754070cb5a110611c26c7e7ca5be9f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-05-16T07:44:02.000Z",
      "arch": "aarch64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "2df90f1f59803d3660679377cf07a4de41377bab7efda762fb5f75972170a925",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-05-16T07:44:53.000Z",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "161599f99082646989b4dea65c74f6b451ae84d597f93cf310536a7fac01f29e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-05-16T07:44:09.000Z",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "5df3d7450af44077965cd426016d7f10fc816dfd8c4898fd757adaa8ad1ef4b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-05-16T07:44:06.000Z",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "bded60ebb952fe5cbf99d5c4d1f2dc7deb213c6d25b54d107b8f08ef31a26052",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-05-16T07:44:23.000Z",
      "arch": "x86_64",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "f23cf9b9ac2b5c1072f121e0cba67e5fea416511cb610cafd9d34cda46f2222e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.6",
      "date": "2026-06-02T18:28:01.000Z",
      "arch": "emscripten",
      "commit": "14b2be97c818bb6011cab98cf0b01000ed33bb41",
      "fileid": "76e810ae6c193bdb056fb8573046e0813e969e00b022efeeaea1c9a6b3c3c651",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcgerard/actions/runs/25956314861"
    }
  ]
}