snpPairInteraction {FRGEpistasis} | R Documentation |
Test the interaction of one SNP with another
snpPairInteraction(pheno, snp1, snp2)
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. |
This function tests the interaction of one SNP with another.
Return the p value for snp-snp interaction
Futao Zhang
pheno<- round(runif(1000,40,60)) snp1<-round(runif(1000,0,2)) snp2<-round(runif(1000,0,2)) pval=snpPairInteraction(pheno,snp1,snp2)