Package: twoPhaseGAS 1.08

Osvaldo Espin-Garcia
twoPhaseGAS: Two-Phase Genetic Association Study design and analysis with missing covariates by design
Provides functionality for selecting and analyzing individuals in two-phase genetic association studies. Phase 1 data usually come from GWAS results and we assume phase 2 genetic data will be part of a targeted genome sequencing / fine-mapping study. The package assists in selecting a subset of individuals that will be sequenced for phase 2. Once phase 2 data have been collected, the package implements methods to analyze phase 1 and 2 data together using semi-parametric regression models.
Authors:
twoPhaseGAS_1.08.tar.gz
twoPhaseGAS_1.08.zip(r-4.7)twoPhaseGAS_1.08.zip(r-4.6)twoPhaseGAS_1.08.zip(r-4.5)
twoPhaseGAS_1.08.tgz(r-4.6-any)twoPhaseGAS_1.08.tgz(r-4.5-any)
twoPhaseGAS_1.08.tar.gz(r-4.7-any)twoPhaseGAS_1.08.tar.gz(r-4.6-any)
twoPhaseGAS_1.08.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
twoPhaseGAS/json (API)
| # Install 'twoPhaseGAS' in R: |
| install.packages('twoPhaseGAS', repos = c('https://egosv.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/egosv/twophasegas/issues
Last updated from:ef0e7b971a. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 159 | ||
| source / vignettes | OK | 173 | ||
| linux-release-x86_64 | NOTE | 148 | ||
| macos-release-arm64 | NOTE | 170 | ||
| macos-oldrel-arm64 | NOTE | 157 | ||
| windows-devel | NOTE | 98 | ||
| windows-release | NOTE | 90 | ||
| windows-oldrel | NOTE | 109 | ||
| wasm-release | OK | 112 |
Exports:DataGeneration_TPDoptimTP.GAoptimTP.LMtwoPhasetwoPhaseDesigntwoPhaseHeuristictwoPhaseSPML
Dependencies:data.tabledfoptimenrichwithlatticeMASSMatrixnloptr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| This code a function that generates a sample Y, Z, G given some initial parameters. | DataGeneration_TPD |
| function optimTP.GA | optimTP.GA |
| function optimTP.LM | optimTP.LM |
| Internal function to optimize over a range of maf, LD and betas. | twoPhase |
| Compute sample allocations for a two phase study design. | twoPhaseDesign |
| Select samples for phase 2 under heuristic designs. | twoPhaseHeuristic |
| Performs inference on two-phase studies data via semiparametric maximum likelihood. | twoPhaseSPML |