View source: R/Indiv_Score_Test_Region.R
Indiv_Score_Test_Region | R Documentation |
The Indiv_Score_Test_Region
function takes in genotype and the object from fitting the null
model to analyze the associations between a quantitative/dichotomous phenotype and
all individual variants in a given variant-set by using score test.
Indiv_Score_Test_Region(
genotype,
obj_nullmodel,
rare_maf_cutoff = 0.01,
rv_num_cutoff = 2
)
genotype |
an n*p genotype matrix (dosage matrix) of the target sequence, where n is the sample size and p is the number of genetic variants. |
obj_nullmodel |
an object from fitting the null model, which is the
output from either |
rare_maf_cutoff |
the cutoff of maximum minor allele frequency in defining rare variants (default = 0.01). |
rv_num_cutoff |
the cutoff of minimum number of variants of analyzing a given variant-set (default = 2). |
A data frame with p rows corresponding to the p genetic variants in the given variant-set
and three columns: Score
(the score test statistic), SE
(the standard error associated
with the score test statistic), and pvalue
(the score test p-value).
If a variant in the given variant-set has minor allele frequency = 0 or
greater than rare_maf_cutoff
, the corresponding row will be NA
. If a variant in
the given variant-set has standard error equal to 0, the p-value will be set as 1.
Chen, H., et al. (2016). Control for population structure and relatedness for binary traits in genetic association studies via logistic mixed models. The American Journal of Human Genetics, 98(4), 653-666. (pub)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.