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 08 May. 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
04/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/0505/0605/07Downloads for genpwr024681012141618202224TrendBars

Today's Hot Picks in Authors and Packages

gms  
'GAMS' Modularization Support Package
A collection of tools to create, use and maintain modularized model code written in the modeling la ...
Download / Learn more Package Citations See dependency  
MXM  
Feature Selection (Including Multiple Solutions) and Bayesian Networks
Many feature selection methods for a wide range of response variables, including minimal, statistica ...
Download / Learn more Package Citations See dependency  
MultiATSM  
Multicountry Term Structure of Interest Rates Models
Estimation routines for several classes of affine term structure of interest rates models. All the m ...
Download / Learn more Package Citations See dependency  
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  
gaussDiff  
Difference measures for multivariate Gaussian probability density functions
A collection difference measures for multivariate Gaussian probability density functions, such as t ...
Download / Learn more Package Citations See dependency  
trajr  
Animal Trajectory Analysis
A toolbox to assist with statistical analysis of animal trajectories. It provides simple access to a ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

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