Learn R Programming

⚠️There's a newer version (2.1-0) of this package.Take me there.

SNPassoc

This package carries out most common analysis when performing whole genome association studies. These analyses include descriptive statistics and exploratory analysis of missing values, calculation of Hardy-Weinberg equilibrium, analysis of association based on generalized linear models (either for quantitative or binary traits), and analysis of multiple SNPs (haplotype and epistasis analysis). Permutation test and related tests (sum statistic and truncated product) are also implemented. Max-statistic and genetic risk-allele score exact distributions are also possible to be estimated.

Copy Link

Version

Install

install.packages('SNPassoc')

Monthly Downloads

1,971

Version

2.0-11

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Juan Gonzalez

Last Published

December 3rd, 2021

Functions in SNPassoc (2.0-11)

GenomicControl

Population substructure
HapMap

SNPs from HapMap project
Bonferroni.sig

Bonferroni correction of p values
Table.mean.se

Descriptive sample size, mean, and standard error
HapMap.SNPs.pos

SNPs from HapMap project
SNPs.info.pos

SNPs in a case-control study
Table.N.Per

Descriptive sample size and percentage
LD

max-statistic for a 2x3 table
SNPs

SNPs in a case-control study
WGassociation

Whole genome association analysis
getSignificantSNPs

Extract significant SNPs from an object of class 'WGassociation'
haplo.interaction

Haplotype interaction with a covariate
association

Association analysis between a single SNP and a given phenotype
plot.WGassociation

Function to plot -log p values from an object of class 'WGassociation'
qqpval

Functions for inspecting population substructure
permTest

Permutation test analysis
interactionPval

Two-dimensional SNP analysis for association studies
snp

SNP object
int

Identify interaction term
inheritance

Collapsing (or recoding) genotypes into different categories (generally two) depending on a given genetic mode of inheritance
getGeneSymbol

Get gene symbol from a list of SNPs
maxstat

max-statistic for a 2x3 table
SNPassoc-internal

Internal SNPstat functions
plotMissing

Plot of missing genotypes
asthma

SNP data on asthma case-control study
odds

Extract odds ratios, 95% CI and pvalues
intervals

Print ORs and 95% confidence intervals for an object of class 'haplo.glm'
tableHWE

Test for Hardy-Weinberg Equilibrium
sortSNPs

Sort a vector of SNPs by genomic position
related

Get related samples
dscore

Exact distribution of a genetic score
resHapMap

SNPs from HapMap project
getNiceTable

Get Latex output
is.Monomorphic

Check whether a SNP is Monomorphic
make.geno

Create a group of locus objects from some SNPs, assign to 'model.matrix' class.
scanWGassociation

Whole genome association analysis
setupSNP

Convert columns in a dataframe to class 'snp'