Learn R Programming

R package, aSPU

Il-Youp Kwak ilyoup.kwak@gmail.com

R/aSPU is an R package for Genetic association testing methods such as aSPU, aSPUw, aSPUpath, aSPUs, aSPUsPath, GEEaSPU, MTaSPUs, GATES, GATE-Simes, HYST etc.

Summary table

Function NameData TypeDescription
aSPU, aSPUw, aSPUr, aSPUdIndividualSingle trait; gene-based
aSPUsSummarySingle trait; gene-based
aSPUpathIndividualSingle trait; pathway-based
aSPUsPathSummarySingle trait; pathway-based
GEEaSPUIndividualMultiple traits; single SNP based
MTaSPUsSummaryMultiple traits; single SNP based
MTaSPUsSetSummaryMultiple traits; gene-based
MTaSPUsSetPathSummaryMultiple traits; pathway-based

*Data type indicate the structure of data set. "Individual" for individual level data. "Summary" for summary statistics data (such as Z scores or p-values of each SNP)

  • aSPU is the function for original aSPU test (Pan et al. 2014), aSPUw is weghted version of it (Kim et al. 2014), aSPUr is robust version of aSPU test (Wei et al. 2016), aSPUd is aSPU test using asymptotic distribution of SPU statistics (Gong et al. 2016). The original version of aSPUd is two sample mean comparison available in R highmean package.

Tutorials

Some tutorials for aSPUs, aSPUsPath and MTaSPUsSet are available.

Citations

For 'aSPU'

Wei Pan, Junghi Kim, Yiwei Zhang, Xiaotong Shen and Peng Wei (2014)
A powerful and adaptive association test for rare variants,
Genetics, 197(4), 1081-95

For 'aSPUw'

Junghi Kim, Jeffrey R Wozniak, Bryon A Mueller, Xiaotong Shen and Wei Pan (2014)
Comparison of statistical tests for group differences in brain functional networks,
NeuroImage, 1;101:681-694

For 'aSPUr'

Peng Wei, Ying Cao, Yiwei Zhang, Zhiyuan Xu, Il-Youp Kwak, Eric Boerwinkle, Wei Pan (2016)
On Robust Association Testing for Quantitative Traits and Rare Variants, 
G3, 6(12) 3941-3950. 

For 'aSPUd'

Gongjun Xu, Lifeng Lin, Peng Wei and Wei Pan (2016) 
An adaptive two-sample test for high-dimensional means, 
Biometrika (2016) 103 (3): 609-624.

For 'aSPUpath'

Wei Pan, Il-Youp Kwak and Peng Wei (2015)
A Powerful and Pathway-Based Adaptive Test for Genetic Association With Common or Rare Variants,
The American Journal of Human Genetics 97, 86-98

For 'aSPUs' and 'aSPUsPath'

Il-Youp Kwak, Wei Pan (2015)
Adaptive Gene- and Pathway-Trait Association Testing with GWAS Summary Statistics,
Bioinformatics, 32(8), 1178-1184

For 'GEEaSPU'

Yiwei Zhang, Zhiyuan Xu, Xiaotong Shen, Wei Pan (2014)
Testing for association with multiple traits in generalized estimation equations, with application to neuroimaging data,
Neuroimage. 96, 309-325

For 'MTaSPUs'

Junghi Kim, Yun Bai and Wei Pan (2015)
An Adaptive Association Test for Multiple Phenotypes with GWAS Summary Statistics,
Genetic Epidemiology, 8:651-663

For 'MTaSPUsSet' and 'MTaSPUsSetPath'

Il-Youp Kwak, Wei Pan (2017)
Gene- and pathway-based association tests for multiple traits with GWAS summary statistics, Bioinformatics. 33(1), 64-71

For 'GATES'

Miao-Xin Li, Hong-Sheng Gui, Johnny S.H. Kwan and Pak C. Sham (2011)
GATES: A Rapid and Powerful Gene-Based Association Test Using Extended Simes Procedure,
The American Journal of Human Genetics 88, 283-293

For 'GATES-Simes'

Hongsheng Gui, Miaoxin Li, Pak C Sham and Stacey S Cherny (2011)
Comparisons of seven algorithms for pathway analysis using the WTCCC Crohn's Disease
BMC Research Notes, 4:386

For 'HYST'

Miao-Xin Li, Johnny S.H. Kwan and Pak C. Sham (2012)
HYST: A Hybrid Set-Based Test for Genome-wide Association Studies, with Application to Protein-Protein Interaction-Based Association Analysis
The American Journal of Human Genetics, 91, 478-488.

installation

From CRAN :

install.packages("aSPU")

Or, with devtools:

library(devtools)
install_github("ikwak2/aSPU")

License

The R/aSPU package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

A copy of the GNU General Public License, version 3, is available at https://www.r-project.org/Licenses/GPL-3

Copy Link

Version

Install

install.packages('aSPU')

Monthly Downloads

464

Version

1.50

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Il-Youp Kwak

Last Published

June 28th, 2021

Functions in aSPU (1.50)

Hyst

HYST (Hybrid Set-based Test) for single trait - pathway association
GEEaSPU

The SPU and aSPU tests for multiple traits - single SNP association in generalized estimating equations.
MTaSPUsSetScore

gene-Multitrait Sum of Powered Score (MTSPUsSetScore) tests and adaptive MTSPUsSet (MTaSPUsSet) test for multi trait - SNP set association with GWAS summary statistics. (Score version added)
aSPU

Sum of Powered Score (SPU) tests and adaptive SPU (aSPU) test for single trait - SNP set association.
MTaSPUsSetPath

Multitraits - Pathway based Sum of Powered Score tests (MTSPUsSetPath) and adaptive MTSPUsSetpath (MTaSPUsSetPath) test for multi trait - pathway association with GWAS summary statistics.
GatesSimes

GATES-Simes test for single trait - pathway association.
SAMD11

An example data for MTaSPUsSet test
GATES2

Gene-based Association Test that uses an extended Simes procedure (GATES) for single trait - SNP set association
MTaSPUs

The SPU and aSPU tests for multiple traits - single SNP association with GWAS summary statistics.
MTaSPUsSet

gene-Multitrait Sum of Powered Score (MTSPUsSet) tests and adaptive MTSPUsSet (MTaSPUsSet) test for multi trait - SNP set association with GWAS summary statistics.
aSPUd

Adaptive Sum of powered score (SPU) tests (SPU and aSPU) based on asymptotic distribution.
aSPUpath

Pathway based Sum of Powered Score tests (SPUpath) and adaptive SPUpath (aSPUpath) test for single trait - pathway association.
kegg9

A subset of coronary artery disease (CAD) data
minP

minP test.
aSPUsPath

Pathway based Sum of Powered Score tests (SPUsPath) and adaptive SPUpath (aSPUsPath) test for single trait - pathway association with GWAS summary statistics.
aSPUw

Inverse variance weighted Sum of Powered Score tests (SPUw) and adaptive SPUw (aSPUw) test for single trait - SNP set association.
aSPUsPath2

Pathway based Sum of Powered Score tests (SPUsPath) and adaptive SPUpath (aSPUsPath) test for single trait - pathway association with GWAS summary statistics. (vector version, fast when n is large)
aSPUr

Robust Sum of powered score (SPU) tests and aSPU test for a quantitative trait
aSPUpath2

Pathway based Sum of Powered Score tests (SPUpath) and adaptive SPUpath (aSPUpath) test for single trait - pathway association. (vector version, fast when n is large)
estcov

estcov
simPathAR1Snp

Simulating a pathway with multiple SNPs.
someGs

An example data for MTaSPUsSet test
aSPUs

Sum of Powered Score (SPUs) tests and adaptive SPU (aSPUs) test for single trait - SNP set association with GWAS summary statistics.
aSPUsD

Sum of Powered Score (SPUs) tests and adaptive SPU (aSPUs) test for single trait - SNP set association with GWAS summary statistics (distribution based).
plotPmat

Image plot of P-value matrix.
getlogitp

Get the p-values of the multiple SNPs based on the Wald test in a logistic regresion model.
exdat

An example data set
pruneSNP

Prune SNPs (related to aSPUs, aSPUsPath, MTaSPUsSet)