Learn R Programming

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.1-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dolors Pelegri-Siso

Last Published

December 14th, 2022

Functions in SNPassoc (2.1-0)

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
asthma

SNP data on asthma case-control study
WGassociation

Whole genome association analysis
haplo.interaction

Haplotype interaction with a covariate
association

Association analysis between a single SNP and a given phenotype
interactionPval

Two-dimensional SNP analysis for association studies
int

Identify interaction term
related

Get related samples
getNiceTable

Get Latex output
intervals

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

Permutation test analysis
odds

Extract odds ratios, 95% CI and pvalues
make.geno

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

Extract significant SNPs from an object of class 'WGassociation'
tableHWE

Test for Hardy-Weinberg Equilibrium
maxstat

max-statistic for a 2x3 table
resHapMap

SNPs from HapMap project
qqpval

Functions for inspecting population substructure
sortSNPs

Sort a vector of SNPs by genomic position
is.Monomorphic

Check whether a SNP is Monomorphic
plot.WGassociation

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

Whole genome association analysis
snp

SNP object
plotMissing

Plot of missing genotypes
setupSNP

Convert columns in a dataframe to class 'snp'
LD

max-statistic for a 2x3 table
Table.N.Per

Descriptive sample size and percentage
SNPs.info.pos

SNPs in a case-control study
HapMap

SNPs from HapMap project
SNPs

SNPs in a case-control study
SNPassoc-internal

Internal SNPstat functions
Table.mean.se

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

SNPs from HapMap project
Bonferroni.sig

Bonferroni correction of p values
GenomicControl

Population substructure