innerSnpListInteraction: Pairwise Interaction Test Inner The Same SNP List

Description Usage Arguments Details Value Author(s) Examples

View source: R/innerSnpListInteraction.R

Description

Test the SNP-SNP interaction. And the SNPs are organized into one data structure.

Usage

1
innerSnpListInteraction(pheno, snpList)

Arguments

pheno

Vector of phenotype data.

snpList

Matrix of the genotypes of all the SNPs for testing the pairwise interactions.

Details

This function aims to test the pairwise interactions between the SNPs organized into the same data structure. It takes phenotype and genotypes of the SNPs as the input. And output all the p values for the interactions of SNP pairs.

Value

Return a frame contains names of all the SNPs pairs and p values for interactions of these pairs.

Author(s)

Futao Zhang

Examples

1
2
3
pheno<- round(runif(1000,40,60))
geno<- as.data.frame(matrix(round(runif(5000,0,2)),1000,5))
innerSnpListInteraction(pheno,geno)

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