snpPairInteraction: SNP-SNP interaction

Description Usage Arguments Details Value Author(s) Examples

View source: R/snpPairInteraction.R

Description

Test the interaction of one SNP with another

Usage

1
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

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

FRGEpistasis documentation built on Nov. 8, 2020, 5:51 p.m.