View source: R/rvmmat_pvalue.R
rvmmat_test | R Documentation |
This function tests a SNPs for a given SNP set for a given estimated null model.
rvmmat_test(rvmmat.est, G, impute.method = "fixed", GRM = NULL)
rvmmat.est |
The output of function "rvmmat_est()" |
G |
The genotype matrix, an m*q matrix where m is the number of subjects and q is the total number genetic variants. |
impute.method |
choose the iputation method when there is missing genotype. Optional options are: 'random', 'fixed' or 'bestguess'. |
GRM |
takes m-by-m genetic correlation matrix or kinship matrix. |
This function returns a dataframe. The row name is the SNP ID, the first column is the prospective pvalue and the second colum is the restrospective pvalue.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.