Package: tidypopgen
Title: Tidy Population Genetics
Version: 1.1.0
Authors@R: 
    c(person("Evie", "Carter", role = c("aut")),
    person("Eirlys", "Tysall", role = c("aut")),
    person("Andrea", "Manica", email = "am315@cam.ac.uk", 
           role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0003-1895-450X")),
    person("Max", "Carter-Brown", role = c("ctb")),
    person("Jason", "Hodgson", role = c("ctb")),
    person("Christopher", "Chang", role = c("ctb", "cph"),
           comment = "Author of PLINK 1.90: Hardy-Weinberg exact test code used in loci_hwe() and qc_report_loci(); runs of homozygosity algorithm followed by windows_indiv_roh(); LD pruning algorithm followed by loci_ld_prune()"),
    person("Shaun", "Purcell", role = c("ctb", "cph"),
           comment = "Author of PLINK 1.90: Hardy-Weinberg exact test code used in loci_hwe() and qc_report_loci(); runs of homozygosity algorithm followed by windows_indiv_roh(); LD pruning algorithm followed by loci_ld_prune()"),
    person("Henrik", "Bengtsson", role = c("ctb", "cph"),
           comment = "Author of countLines() in R.utils, modified for .vcf in count_vcf_variants()"),
    person("Jan", "Wigginton", role = c("ctb", "cph"),
           comment = "Author of the original Hardy-Weinberg exact test code (SNPHWE), on which the PLINK 1.90 code used in loci_hwe() is based"),
    person("Florian", "Privé", role = c("ctb", "cph"),
           comment = "Author of bigsnpr and bigstatsr, code from which is adapted in read_packedancestry_to_fbm(), gt_as_plink(), predict.gt_pca(), autoplot.gt_dapc() and loci_ld_clump()"),
    person("Jérôme", "Goudet", role = c("ctb", "cph"),
           comment = "Author of hierfstat, code from which is adapted in pop_global_stats(), pop_het_obs(), pop_het_exp() and indiv_inbreeding()"),
    person("Robert", "Maier", role = c("ctb", "cph"),
           comment = "Author of admixtools, code from which is adapted in gt_extract_f2()"),
    person("Ryan", "Gutenkunst", role = c("ctb", "cph"),
           comment = "Author of dadi, whose Spectrum class is translated to R in the tests of the site frequency spectra"),
    person("Isaac", "Overcast", role = c("ctb", "cph"),
           comment = "Author of easySFS, translated to R in the tests of the site frequency spectra"))
Description: We provide a tidy grammar of population genetics, facilitating 
    the manipulation and analysis of data on biallelic single nucleotide
    polymorphisms (SNPs). 'tidypopgen' scales to very large genetic datasets
    by storing genotypes on disk, and performing operations on them in 
    chunks, without ever loading all data in memory. The full
    functionalities of the package are described in Carter et al. (2025)
    <doi:10.1111/2041-210x.70204>.
License: GPL (>= 3)
Encoding: UTF-8
Language: en-GB
URL: https://github.com/EvolEcolGroup/tidypopgen,
        https://evolecolgroup.github.io/tidypopgen/
BugReports: https://github.com/EvolEcolGroup/tidypopgen/issues
Depends: R (>= 3.5.0), dplyr (>= 1.2.0), tibble
Imports: bigparallelr, bigsnpr, bigstatsr, data.table, foreach,
        generics, lifecycle (>= 1.0.2), ggplot2 (>= 3.5.0), methods,
        MASS, patchwork, runner, rlang, RSpectra, sf, stats,
        tidyselect, tidyr, utils, Rcpp, vctrs, gtable
Suggests: adegenet, admixtools, ape, broom, hexbin, hierfstat, knitr,
        detectRUNS, LEA, pcadapt, RhpcBLASctl, rmarkdown,
        rnaturalearth, rnaturalearthdata, readr, reticulate, testthat
        (>= 3.1.7), vcfR, withr, xgboost, spelling
Additional_repositories: https://evolecolgroup.r-universe.dev/
VignetteBuilder: knitr
Config/testthat/edition: 3
LinkingTo: Rcpp, RcppEigen, bigstatsr, rmio
LazyData: true
Config/Needs/website: rmarkdown
Config/roxygen2/version: 8.1.0
NeedsCompilation: yes
Packaged: 2026-11-27 20:35:53 UTC; andrea
Author: Evie Carter [aut],
  Eirlys Tysall [aut],
  Andrea Manica [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0003-1895-450X>),
  Max Carter-Brown [ctb],
  Jason Hodgson [ctb],
  Christopher Chang [ctb, cph] (Author of PLINK 1.90: Hardy-Weinberg
    exact test code used in loci_hwe() and qc_report_loci(); runs of
    homozygosity algorithm followed by windows_indiv_roh(); LD pruning
    algorithm followed by loci_ld_prune()),
  Shaun Purcell [ctb, cph] (Author of PLINK 1.90: Hardy-Weinberg exact
    test code used in loci_hwe() and qc_report_loci(); runs of
    homozygosity algorithm followed by windows_indiv_roh(); LD pruning
    algorithm followed by loci_ld_prune()),
  Henrik Bengtsson [ctb, cph] (Author of countLines() in R.utils,
    modified for .vcf in count_vcf_variants()),
  Jan Wigginton [ctb, cph] (Author of the original Hardy-Weinberg exact
    test code (SNPHWE), on which the PLINK 1.90 code used in loci_hwe()
    is based),
  Florian Privé [ctb, cph] (Author of bigsnpr and bigstatsr, code from
    which is adapted in read_packedancestry_to_fbm(), gt_as_plink(),
    predict.gt_pca(), autoplot.gt_dapc() and loci_ld_clump()),
  Jérôme Goudet [ctb, cph] (Author of hierfstat, code from which is
    adapted in pop_global_stats(), pop_het_obs(), pop_het_exp() and
    indiv_inbreeding()),
  Robert Maier [ctb, cph] (Author of admixtools, code from which is
    adapted in gt_extract_f2()),
  Ryan Gutenkunst [ctb, cph] (Author of dadi, whose Spectrum class is
    translated to R in the tests of the site frequency spectra),
  Isaac Overcast [ctb, cph] (Author of easySFS, translated to R in the
    tests of the site frequency spectra)
Maintainer: Andrea Manica <am315@cam.ac.uk>
Repository: CRAN
Date/Publication: 2026-11-27 21:10:02 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-11-28 00:54:08 UTC; windows
Archs: x64
