Other packages > Find by keyword >

genpwr  

Power Calculations Under Genetic Model Misspecification
View on CRAN: Click here


Download and install genpwr package within the R console
Install from CRAN:
install.packages("genpwr")

Install from Github:
library("remotes")
install_github("cran/genpwr")

Install by package version:
library("remotes")
install_version("genpwr", "1.0.4")



Attach the package and use:
library("genpwr")
Maintained by
Camille Moore
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-04-04
Latest Update: 2021-03-31
Description:
Power and sample size calculations for genetic association studies allowing for misspecification of the model of genetic susceptibility. "Hum Hered. 2019;84(6):256-271.. Epub 2020 Jul 28." Power and/or sample size can be calculated for logistic (case/control study design) and linear (continuous phenotype) regression models, using additive, dominant, recessive or degree of freedom coding of the genetic covariate while assuming a true dominant, recessive or additive genetic effect. In addition, power and sample size calculations can be performed for gene by environment interactions. These methods are extensions of Gauderman (2002) and Gauderman (2002) and are described in: Moore CM, Jacobson S, Fingerlin TE. Power and Sample Size Calculations for Genetic Association Studies in the Presence of Genetic Model Misspecification. American Society of Human Genetics. October 2018, San Diego.
How to cite:
Camille Moore (2019). genpwr: Power Calculations Under Genetic Model Misspecification. R package version 1.0.4, https://cran.r-project.org/web/packages/genpwr. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.0.0 (2019-04-04 19:40), 1.0.1 (2019-09-17 21:40), 1.0.2 (2020-04-07 19:30), 1.0.3 (2021-03-22 21:20)
Other packages that cited genpwr R package
View genpwr citation profile
Other R packages that genpwr depends, imports, suggests or enhances
Complete documentation for genpwr
Functions, R codes and Examples using the genpwr R package
Some associated functions: X_mat_returner . X_mat_returner_lle . add.fun.t . add.or.function . additive.ll.linear . additive.ll . as.numeric2 . calc.like.linear.log.envir.interaction . calc.like.linear . calc.like . df2.ll.linear . df2.ll . dom.fun.t . dom.or.function . dominant.ll.linear . dominant.ll . es.calc.linear . expected.linear.ll.lin.env . expected.linear.ll . find.prob.dom . find.prob.rec . genpwr.calc . integrand_funct_case . integrand_funct_control . linear.mles.lin.envir.interaction . linear.mles.lin.envir.interaction_reduced . linear.mles.log.envir.interaction . linear.mles . linear.outcome.lin.envir.interaction.sds . linear.outcome.lin.envir.interaction.sds_reduced . linear.outcome.log.envir.interaction.sds . linear.sds . ll.ge.logistic.lin.envir . ll.ge.logistic . ll.linear.selector . ll_zero_finder2 . logistic.mles . logit . ncp.search . null.ll.linear . null.ll . odds_ratio_function . or.function.2df . or.plot . or_calc . p_vec_returner . p_vec_returner_lin_env . power.calc.linear . power.calc . power.plot . power_envir.calc.linear_outcome . power_envir.calc . power_linear_envir.calc.linear_outcome . power_linear_envir.calc.logistic_outcome . quad_roots . rec.fun.t . rec.or.function . recessive.ll.linear . recessive.ll . solve_a . ss.calc.linear . ss.calc . ss.plot . ss_envir.calc.linear_outcome . ss_envir.calc . ss_linear_envir.calc.linear_outcome . ss_linear_envir.calc.logistic_outcome . zero_finder_nleqslv . 
Some associated R codes: genpwr_wrapper.R . likelihood_calc_function.R . linear_effect_size_functions.R . linear_mle_function.R . linear_outcome_envir_interaction_mle_function.R . linear_outcome_linear_envir_interaction_mle_function.R . linear_power_function_environment_interaction.R . linear_power_function_linear_environment_interaction.R . linear_power_functions_in_progress.R . linear_sample_size_functions.R . linear_ss_function_environment_interaction.R . linear_ss_function_linear_environment_interaction.R . ll_zero_finder.R . logistic_mle_function.R . logistic_power_function_linear_environment_interaction.R . logit_function.R . non_centrality_search_function.R . odds_ratio_function.R . or_calc.R . plotting_function.R . power_function.R . power_function_environment_interaction.R . power_function_environment_interaction_logistic_mle.R . power_function_environment_interaction_t_matrix_eqs.R . power_function_linear_environment_interaction_logistic_mle.R . quad_roots_function.R . sample_size_function.R . sample_size_function_environment_interaction.R . zero_finder_nleqslv.R .  Full genpwr package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA