Package: MPGE 1.0.0
MPGE: A Two-Step Approach to Testing Overall Effect of Gene-Environment Interaction for Multiple Phenotypes
Interaction between a genetic variant (e.g., a single nucleotide polymorphism) and an environmental variable (e.g., physical activity) can have a shared effect on multiple phenotypes (e.g., blood lipids). We implement a two-step method to test for an overall interaction effect on multiple phenotypes. In first step, the method tests for an overall marginal genetic association between the genetic variant and the multivariate phenotype. The genetic variants which show an evidence of marginal overall genetic effect in the first step are prioritized while testing for an overall gene-environment interaction effect in the second step. Methodology is available from: A Majumdar, KS Burch, S Sankararaman, B Pasaniuc, WJ Gauderman, JS Witte (2020) <doi:10.1101/2020.07.06.190256>.
Authors:
MPGE_1.0.0.tar.gz
MPGE_1.0.0.zip(r-4.5)MPGE_1.0.0.zip(r-4.4)MPGE_1.0.0.zip(r-4.3)
MPGE_1.0.0.tgz(r-4.4-any)MPGE_1.0.0.tgz(r-4.3-any)
MPGE_1.0.0.tar.gz(r-4.5-noble)MPGE_1.0.0.tar.gz(r-4.4-noble)
MPGE_1.0.0.tgz(r-4.4-emscripten)MPGE_1.0.0.tgz(r-4.3-emscripten)
MPGE.pdf |MPGE.html✨
MPGE/json (API)
NEWS
# Install 'MPGE' in R: |
install.packages('MPGE', repos = c('https://arunabhacodes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/arunabhacodes/mpge/issues
- environment_data - An example of data of the environmental variable (e.g., smoking status). Here, environment_data is a data frame with single column for the environmental variable. The order of the 500 individuals in the row must be the same as provided in the phenotype and genotype data. Here, the environmental variable has two categories which were coded as 1 and 0 (e.g., smokers and non-smokers). Instead of numeric values, these can also be considered to be factors in the absence of a defined order in the categories.
- genotype_data - An example of genotype data for two genetic variants (SNPs). Here, genotype\_data is a data.frame with the columns as SNPs (e.g., rs1 and rs2 here). The rows correspond to the 500 individuals in the same order as in the phenotype data.
- mv_G_GxE_pvalues - An example of step 1 (marginal genetic association) and step 2 (GxE interaction) p-values across genetic variants (SNPs). Here, mv_G_GxE_pvalues is a data.frame with three columns. First column lists the set of 1000 genetic variants. Second column provides the vector of p-values obtained from testing the marginal multivariate genetic association for these SNPs. And the third column provides the vector of p-values obtained from testing the overall GxE effect in presence of possible marginal genetic effect and marginal environmental effect.
- phenotype_data - An example of phenotype data.
Last updated 4 years agofrom:80840fa3bb. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 23 2024 |
R-4.5-win | NOTE | Oct 23 2024 |
R-4.5-linux | NOTE | Oct 23 2024 |
R-4.4-win | NOTE | Oct 23 2024 |
R-4.4-mac | NOTE | Oct 23 2024 |
R-4.3-win | NOTE | Oct 23 2024 |
R-4.3-mac | NOTE | Oct 23 2024 |
Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr