Indiv_Score_Test_Region_meta: Meta-analysis of score test for individual variants in a...

View source: R/Indiv_Score_Test_Region_meta.R

Indiv_Score_Test_Region_metaR Documentation

Meta-analysis of score test for individual variants in a given variant-set

Description

The Indiv_Score_Test_Region_meta function takes in the object from the merged summary statistics and covariance files of each participating study to analyze the associations between a quantitative/dichotomous phenotype and all individual variants in a given variant-set by using the meta-analysis of score test.

Usage

Indiv_Score_Test_Region_meta(obj_MetaSTAAR_merge, rv_num_cutoff = 2)

Arguments

obj_MetaSTAAR_merge

an object from merging the summary statistics and covariance files from each participating study, which is the output from MetaSTAAR_merge.

rv_num_cutoff

the cutoff of minimum number of variants of analyzing a given variant-set (default = 2).

Value

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 standard error equal to 0, the p-value will be set as 1.


xihaoli/MetaSTAAR documentation built on Nov. 10, 2024, 5:26 a.m.