Learn R Programming

SPA3G (version 1.0)

SPA3G-package: SPA3G

Description

The package implements the model-based kernel machine method for detecting gene-centric gene-gene interactions of Li and Cui (2012).

Arguments

Details

Package:
SPA3G
Type:
Package
Version:
1.0
Date:
2012-02-28
License:
GPL-3.0

SPA3G conducts statistical test for overall genetic effects of a gene pair and interaction effect between them. The overall test is conducted first and users can decide when to perform an interaction test by setting a cutoff value for the overall test p-value. REML estimates of variance components can also be reported as required by users.

To run SPA, appropriately prepared phenotype and genotype datasets are required. For the format of the input data sets, please run "data(SPA_example)" after install the package.

References

Li, S and Cui, Y. (2012) Gene-centric gene-gene interaction: a model-based kernel machine method. Annals of Applied Statistics

Examples

Run this code
data(SPA.example)
spam.res <- SPA(SPA.example$pheno, SPA.example$geno, g.size=c(1, 3), cutoff=1)
spam.res

Run the code above in your browser using DataLab