snpPairInteraction {FRGEpistasis}R Documentation

SNP-SNP interaction

Description

Test the interaction of one SNP with another

Usage

snpPairInteraction(pheno, snp1, snp2)

Arguments

pheno

Vector of phenotype data which can be quantitative trait or binary trait.

snp1

Vector of genotype data of SNP1.

snp2

Vector of genotype data of SNP2.

Details

This function tests the interaction of one SNP with another.

Value

Return the p value for snp-snp interaction

Author(s)

Futao Zhang

Examples


pheno<- round(runif(1000,40,60))
snp1<-round(runif(1000,0,2))
snp2<-round(runif(1000,0,2))
pval=snpPairInteraction(pheno,snp1,snp2)


[Package FRGEpistasis version 1.16.0 Index]