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]
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 29 Mar. 2025.
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/28Downloads for genpwr246810121416182022242628TrendBars

Today's Hot Picks in Authors and Packages

landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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