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 22 Dec. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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