Package: HaploDiploidEquilibrium 0.1.0
HaploDiploidEquilibrium: Calculate F Statistics Using Mixed Haploid and Diploid Organism Data
Provides functions to estimate population genetics summary statistics from haplo-diploid systems, where one sex is haploid and the other diploid (e.g. Hymenoptera insects). It implements a theoretical model assuming equal sex ratio, random mating, no selection, no mutation, and no gene flow, deriving expected genotype frequencies for both sexes under these equilibrium conditions. The package includes windowed calculations (operating over genomic sliding windows from VCF input) for allele and genotype frequencies, the inbreeding coefficient (Fis), pairwise Fst, Nei's H (gene diversity), Watterson's Theta, and sex-specific reference allele frequencies. Most statistics are agnostic to ploidy, allowing the package to be applied to both strictly haplo-diploid and fully diploid systems.
Authors:
HaploDiploidEquilibrium_0.1.0.tar.gz
HaploDiploidEquilibrium_0.1.0.zip(r-4.7)HaploDiploidEquilibrium_0.1.0.zip(r-4.6)HaploDiploidEquilibrium_0.1.0.zip(r-4.5)
HaploDiploidEquilibrium_0.1.0.tgz(r-4.6-any)HaploDiploidEquilibrium_0.1.0.tgz(r-4.5-any)
HaploDiploidEquilibrium_0.1.0.tar.gz(r-4.7-any)HaploDiploidEquilibrium_0.1.0.tar.gz(r-4.6-any)
HaploDiploidEquilibrium_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
HaploDiploidEquilibrium/json (API)
NEWS
| # Install 'HaploDiploidEquilibrium' in R: |
| install.packages('HaploDiploidEquilibrium', repos = c('https://stuntspt.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:a16ed4e9d9. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 120 | ||
| source / vignettes | OK | 163 | ||
| linux-release-x86_64 | OK | 119 | ||
| macos-release-arm64 | OK | 116 | ||
| macos-oldrel-arm64 | OK | 181 | ||
| windows-devel | OK | 82 | ||
| windows-release | OK | 75 | ||
| windows-oldrel | OK | 77 | ||
| wasm-release | OK | 105 |
Exports:allele.freq.WScompute_allele.freqs_Wcompute_Hs_Wcompute.Female.Male.allele.Wpairwise.fstsummarize_fstsummarize_genosummarize_NeisHsummarize_sex_refvcf2GT
Dependencies:apecliclusterdata.tabledigestdplyrgenericsgluelatticelifecyclemagrittrMASSMatrixmatrixStatsmemusemgcvnlmepermutepillarpinfsc50pkgconfigR6Rcpprlangstringistringrtibbletidyselectutf8vcfRvctrsveganviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Compute per-window reference allele frequencies across populations | allele.freq.WS |
| Compute per-window genotype frequencies, allele frequencies, and Fis | compute_allele.freqs_W |
| Compute per-window Nei's H (gene diversity) | compute_Hs_W |
| Compute per-window reference allele frequencies by sex | compute.Female.Male.allele.W |
| Compute pairwise Fst for all population pairs | pairwise.fst |
| Summarize genome-wide Fst per population pair | summarize_fst |
| Summarize per-window genotype frequencies per population | summarize_geno |
| Summarize per-window Nei's H per population | summarize_NeisH |
| Summarize per-sex reference allele frequencies per population | summarize_sex_ref |
| Import a VCF file and extract genotype and positional data | vcf2GT |
