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 21 Nov. 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

RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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