{
  "_id": "6a1f25a2b401979e7342187f",
  "Package": "wingen",
  "Title": "Continuous Mapping of Genetic Diversity",
  "Version": "2.2.0",
  "Authors@R": "c(\nperson(\"Anusha\", \"Bishop\", , email = \"anusha.bishop@berkeley.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1731-8683\")),\nperson(\"Anne\", \"Chambers\", , email = \"eachambers@berkeley.edu\", role =\"aut\",\ncomment = c(ORCID = \"0000-0002-7369-0108\")),\nperson(\"Ian\", \"Wang\", , email = \"ianwang@berkeley.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-2554-9414\"))\n)",
  "Description": "Generate continuous maps of genetic diversity using moving\nwindows with options for rarefaction, interpolation, and\nmasking as described in Bishop et al. (2023)\n<doi:10.1111/2041-210X.14090>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/AnushaPB/wingen",
  "BugReports": "https://github.com/AnushaPB/wingen/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibglpk-dev make libicu-dev libuv1-dev libxml2-dev libssl-dev\nlibproj-dev libsqlite3-dev libudunits2-dev zlib1g-dev",
  "Repository": "https://anushapb.r-universe.dev",
  "Date/Publication": "2025-08-19 21:45:39 UTC",
  "RemoteUrl": "https://github.com/anushapb/wingen",
  "RemoteRef": "HEAD",
  "RemoteSha": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 06:07:05 UTC",
    "User": "root"
  },
  "Author": "Anusha Bishop [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1731-8683>),\nAnne Chambers [aut] (ORCID: <https://orcid.org/0000-0002-7369-0108>),\nIan Wang [aut] (ORCID: <https://orcid.org/0000-0003-2554-9414>)",
  "Maintainer": "Anusha Bishop <anusha.bishop@berkeley.edu>",
  "MD5sum": "77f59a051e3e6755ed538760bd795f79",
  "_user": "anushapb",
  "_type": "src",
  "_file": "wingen_2.2.0.tar.gz",
  "_fileid": "88d3a4583d94a13c86b1a20561480dace5aa3a89bfdbb0dec2f1b4a3335743d4",
  "_filesize": 4794462,
  "_sha256": "88d3a4583d94a13c86b1a20561480dace5aa3a89bfdbb0dec2f1b4a3335743d4",
  "_created": "2026-05-16T06:07:05.000Z",
  "_published": "2026-06-02T18:49:06.039Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79147092958,
      "time": 370,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031101993"
    },
    {
      "job": 79147092987,
      "time": 369,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031101931"
    },
    {
      "job": 79147093005,
      "time": 348,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031157177"
    },
    {
      "job": 79147093081,
      "time": 434,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031162040"
    },
    {
      "job": 79147092834,
      "time": 413,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031061003"
    },
    {
      "job": 79147092389,
      "time": 157,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366908333"
    },
    {
      "job": 79147093165,
      "time": 358,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031100757"
    },
    {
      "job": 79147093302,
      "time": 282,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031092635"
    },
    {
      "job": 79147093158,
      "time": 310,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031095736"
    }
  ],
  "_buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/anushapb/wingen",
  "_commit": {
    "id": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
    "author": "Anusha Bishop <46795148+AnushaPB@users.noreply.github.com>",
    "committer": "Anusha Bishop <46795148+AnushaPB@users.noreply.github.com>",
    "message": "update readme\n",
    "time": 1755639939
  },
  "_maintainer": {
    "name": "Anusha Bishop",
    "email": "anusha.bishop@berkeley.edu",
    "login": "anushapb",
    "orcid": "0000-0003-1731-8683",
    "twitter": "@anusha_bishop",
    "uuid": 46795148
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "gdistance",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "gstat",
      "role": "Imports"
    },
    {
      "package": "hierfstat",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "pegas",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vcfR",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "adegenet",
      "role": "Suggests"
    },
    {
      "package": "automap",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "SpatialKDE",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "anushapb",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 13
    },
    {
      "week": "2025-34",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v2.2.0",
      "date": "2025-08-19"
    }
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "anushapb",
      "count": 1541,
      "uuid": 46795148
    },
    {
      "user": "eachambers",
      "count": 28,
      "uuid": 12531897
    },
    {
      "user": "ianjwang",
      "count": 1,
      "uuid": 44509130
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 46795148,
    "type": "user",
    "name": "Anusha Bishop"
  },
  "_downloads": {
    "count": 602,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/wingen"
  },
  "_devurl": "https://github.com/anushapb/wingen",
  "_searchresults": 34,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/wingen.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/anushapb/wingen",
  "_realowner": "anushapb",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.1.1",
      "date": "2024-02-27"
    },
    {
      "version": "2.1.2",
      "date": "2024-05-16"
    },
    {
      "version": "2.2.0",
      "date": "2025-08-19"
    }
  ],
  "_exports": [
    "circle_gd",
    "circle_general",
    "coords_to_raster",
    "get_geodist",
    "get_resdist",
    "ggplot_count",
    "ggplot_gd",
    "krig_gd",
    "load_middle_earth_ex",
    "load_mini_ex",
    "mask_gd",
    "plot_count",
    "plot_gd",
    "preview_gd",
    "resist_gd",
    "resist_general",
    "vcf_to_dosage",
    "window_gd",
    "window_general",
    "wkrig_gd"
  ],
  "_datasets": [
    {
      "name": "lotr_coords",
      "title": "Middle earth example coordinates",
      "object": "lotr_coords",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "lotr_lyr",
      "title": "Middle earth example raster",
      "object": "lotr_lyr",
      "class": [
        "RasterLayer"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "lotr_range",
      "title": "Middle earth example range polygon",
      "object": "lotr_range",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "lyr.1",
        "geometry"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "lotr_vcf",
      "title": "Middle earth example vcf",
      "object": "lotr_vcf",
      "class": [
        "vcfR"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "mini_coords",
      "title": "Mini middle earth example coordinates",
      "object": "mini_coords",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "mini_lyr",
      "title": "Mini middle earth example raster",
      "object": "mini_lyr",
      "class": [
        "RasterLayer"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "mini_vcf",
      "title": "Mini middle earth example vcf",
      "object": "mini_vcf",
      "class": [
        "vcfR"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "mini_vcf_NA",
      "title": "Mini middle earth example vcf with NA values",
      "object": "mini_vcf_NA",
      "class": [
        "vcfR"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "circle_gd",
      "title": "Create a moving window map of genetic diversity using a circle window",
      "topics": [
        "circle_gd"
      ]
    },
    {
      "page": "circle_general",
      "title": "General function for making circular moving window maps",
      "topics": [
        "circle_general"
      ]
    },
    {
      "page": "coords_to_raster",
      "title": "Create a raster from coordinates",
      "topics": [
        "coords_to_raster"
      ]
    },
    {
      "page": "get_geodist",
      "title": "Get a matrix of geographic distances for circle_gd",
      "topics": [
        "get_geodist"
      ]
    },
    {
      "page": "get_resdist",
      "title": "Get a matrix of resistance distances for resist_gd",
      "topics": [
        "get_resdist"
      ]
    },
    {
      "page": "ggplot_count",
      "title": "Plot moving window map of sample counts",
      "topics": [
        "ggplot_count"
      ]
    },
    {
      "page": "ggplot_gd",
      "title": "Plot moving window map of genetic diversity",
      "topics": [
        "ggplot_gd"
      ]
    },
    {
      "page": "krig_gd",
      "title": "Superseded: Krige moving window maps",
      "topics": [
        "krig_gd"
      ]
    },
    {
      "page": "load_middle_earth_ex",
      "title": "Middle earth example",
      "topics": [
        "load_middle_earth_ex"
      ]
    },
    {
      "page": "load_mini_ex",
      "title": "Mini middle earth example",
      "topics": [
        "load_mini_ex"
      ]
    },
    {
      "page": "lotr_coords",
      "title": "Middle earth example coordinates",
      "topics": [
        "lotr_coords"
      ]
    },
    {
      "page": "lotr_lyr",
      "title": "Middle earth example raster",
      "topics": [
        "lotr_lyr"
      ]
    },
    {
      "page": "lotr_range",
      "title": "Middle earth example range polygon",
      "topics": [
        "lotr_range"
      ]
    },
    {
      "page": "lotr_vcf",
      "title": "Middle earth example vcf",
      "topics": [
        "lotr_vcf"
      ]
    },
    {
      "page": "mask_gd",
      "title": "Mask moving window maps",
      "topics": [
        "mask_gd"
      ]
    },
    {
      "page": "mini_coords",
      "title": "Mini middle earth example coordinates",
      "topics": [
        "mini_coords"
      ]
    },
    {
      "page": "mini_lyr",
      "title": "Mini middle earth example raster",
      "topics": [
        "mini_lyr"
      ]
    },
    {
      "page": "mini_vcf",
      "title": "Mini middle earth example vcf",
      "topics": [
        "mini_vcf"
      ]
    },
    {
      "page": "mini_vcf_NA",
      "title": "Mini middle earth example vcf with NA values",
      "topics": [
        "mini_vcf_NA"
      ]
    },
    {
      "page": "plot_count",
      "title": "Plot moving window map of sample counts",
      "topics": [
        "plot_count"
      ]
    },
    {
      "page": "plot_gd",
      "title": "Plot moving window map of genetic diversity",
      "topics": [
        "plot_gd"
      ]
    },
    {
      "page": "preview_gd",
      "title": "Preview moving window and sample counts",
      "topics": [
        "preview_gd"
      ]
    },
    {
      "page": "resist_gd",
      "title": "Create a moving window map of genetic diversity based on resistance",
      "topics": [
        "resist_gd"
      ]
    },
    {
      "page": "resist_general",
      "title": "General function for making resistance-based maps",
      "topics": [
        "resist_general"
      ]
    },
    {
      "page": "vcf_to_dosage",
      "title": "Convert a vcf to a dosage matrix",
      "topics": [
        "vcf_to_dosage"
      ]
    },
    {
      "page": "window_gd",
      "title": "Create a moving window map of genetic diversity",
      "topics": [
        "window_gd"
      ]
    },
    {
      "page": "window_general",
      "title": "General function for making moving window maps",
      "topics": [
        "window_general"
      ]
    },
    {
      "page": "wkrig_gd",
      "title": "Krige moving window maps with variogram selection",
      "topics": [
        "wkrig_gd"
      ]
    }
  ],
  "_pkglogo": "https://github.com/anushapb/wingen/raw/HEAD/logo.png",
  "_readme": "https://github.com/anushapb/wingen/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ade4",
    "adegenet",
    "ape",
    "base64enc",
    "boot",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "cluster",
    "codetools",
    "commonmark",
    "cpp11",
    "crayon",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "fastmap",
    "FNN",
    "fontawesome",
    "fs",
    "furrr",
    "future",
    "gaston",
    "gdistance",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gridExtra",
    "gstat",
    "gtable",
    "gtools",
    "hierfstat",
    "htmltools",
    "httpuv",
    "igraph",
    "intervals",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "memuse",
    "mgcv",
    "mime",
    "nlme",
    "otel",
    "parallelly",
    "pegas",
    "permute",
    "pillar",
    "pinfsc50",
    "pixmap",
    "pkgconfig",
    "plyr",
    "promises",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "s2",
    "S7",
    "sass",
    "scales",
    "segmented",
    "seqinr",
    "sf",
    "sftime",
    "shiny",
    "sourcetools",
    "sp",
    "spacetime",
    "stars",
    "stringi",
    "stringr",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vcfR",
    "vctrs",
    "vegan",
    "viridis",
    "viridisLite",
    "withr",
    "wk",
    "xtable",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "wingen-vignette.Rmd",
      "filename": "wingen-vignette.pdf",
      "title": "wingen-vignette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Example",
        "Load Middle Earth example",
        "Workflow",
        "Different moving window calculations",
        "Run moving window calculations with window_gd()",
        "Run moving window calculations with circle_gd()",
        "Run moving window calculations with resist_gd()",
        "Transforming the moving window maps",
        "Krige results",
        "Mask results",
        "Parallelization",
        "Other genetic diversity metrics",
        "General moving window",
        "Other genetic data input file types in wingen"
      ],
      "created": "2022-06-04 02:56:11",
      "modified": "2025-08-05 03:07:24",
      "commits": 69
    }
  ],
  "_score": 6.740993931584886,
  "_indexed": true,
  "_nocasepkg": "wingen",
  "_universes": [
    "anushapb"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-05-16T06:10:14.000Z",
      "distro": "noble",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "d3c77da0cbecc1ccbf169c69a07cf289ed97faeb3b6700861fa62f4072a016a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-05-16T06:10:13.000Z",
      "distro": "noble",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "2210321f298164723f73b2b18b1902df338fc5111eef0747e4657e2bc9dc87c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.0",
      "date": "2026-05-16T06:19:52.000Z",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "1e9cb7d0dbc72de6f4bb49a2f992b1a58f83c823df76b9d26bef4d26a4368c2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.0",
      "date": "2026-05-16T06:19:35.000Z",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "cfa5902a3127a6ca187c18a4b790aa312a75ad9aad26a250e29979617114a051",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-05-16T06:08:52.000Z",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "3f0a053897e1a6a041bd19b45c45427565ee134f8493bb42e26dc8e586c4cb14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-05-16T06:09:00.000Z",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "9357493aa30917b0f6e8f5502e541ca217878dd00dbecbf01f37b9ad953fd98f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-05-16T06:09:19.000Z",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "3618cc76911d58febd4719cddf3eb7ace11821cce8d7b7db8afa9d03ead9e665",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.0",
      "date": "2026-06-02T18:48:42.000Z",
      "commit": "c2cfd25b0a962767fca2c6286bbb4abb1d7f089c",
      "fileid": "f35d86ad5576b4ddb010bcfaa1b4d0e06e09d0e97d51a990d0cc2856e9347882",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anushapb/actions/runs/25954469265"
    }
  ]
}