Description Usage Arguments Details Value Author(s) Examples
View source: R/innerSnpListInteraction.R
Test the SNP-SNP interaction. And the SNPs are organized into one data structure.
1 | innerSnpListInteraction(pheno, snpList)
|
pheno |
Vector of phenotype data. |
snpList |
Matrix of the genotypes of all the SNPs for testing the pairwise interactions. |
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.
Return a frame contains names of all the SNPs pairs and p values for interactions of these pairs.
Futao Zhang
1 2 3 | pheno<- round(runif(1000,40,60))
geno<- as.data.frame(matrix(round(runif(5000,0,2)),1000,5))
innerSnpListInteraction(pheno,geno)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.