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-18

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dolors Pelegri-Siso

Last Published

November 15th, 2022

Functions in SNPassoc (2.0-18)

HapMap.SNPs.pos

SNPs from HapMap project
GenomicControl

Population substructure
SNPs.info.pos

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

Descriptive sample size and percentage
Table.mean.se

Descriptive sample size, mean, and standard error
WGassociation

Whole genome association analysis
association

Association analysis between a single SNP and a given phenotype
LD

max-statistic for a 2x3 table
asthma

SNP data on asthma case-control study
SNPassoc-internal

Internal SNPstat functions
dscore

Exact distribution of a genetic score
getGeneSymbol

Get gene symbol from a list of SNPs
intervals

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

Two-dimensional SNP analysis for association studies
inheritance

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

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

Identify interaction term
getNiceTable

Get Latex output
related

Get related samples
permTest

Permutation test analysis
resHapMap

SNPs from HapMap project
plot.WGassociation

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

max-statistic for a 2x3 table
plotMissing

Plot of missing genotypes
haplo.interaction

Haplotype interaction with a covariate
odds

Extract odds ratios, 95% CI and pvalues
qqpval

Functions for inspecting population substructure
tableHWE

Test for Hardy-Weinberg Equilibrium
is.Monomorphic

Check whether a SNP is Monomorphic
scanWGassociation

Whole genome association analysis
setupSNP

Convert columns in a dataframe to class 'snp'
make.geno

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

SNP object
sortSNPs

Sort a vector of SNPs by genomic position
Bonferroni.sig

Bonferroni correction of p values
SNPs

SNPs in a case-control study
HapMap

SNPs from HapMap project