Fit the meta-regression model using the normalized statistic data across all cohorts.

MR_mega_lrw(dta, qt = TRUE, ncores, pcCount)

Arguments

dta

A list containing BETA, SE^-2,PCs, cohort_count_filt which may be used for Bayesian factor.

qt

Whether the trait is quantitative or not. This method is only used for quantitative traits.

ncores

The the number of cores which would be used for running in parallel.

pcCount

The number of axes of genetic variation.

Value

Output a file containing names of genetic variants, estimated coefficients, standard errors, chisq value of the association, the number of degrees of freedom of the association, p-value of the association, chisq value of the heterogeneity due to different ancestry, ndf of the heterogeneity due to different ancestry, p-value of the heterogeneity due to different ancestry, chisq value of the residual heterogeneity, ndf of the residual heterogeneity, p-value of the residual heterogeneity.

Details

The meta-regression model was proposed by Mägi et al. (2017) .

References

Mägi R, Horikoshi M, Sofer T, Mahajan A, Kitajima H, Franceschini N, McCarthy MI, COGENT-Kidney Consortium TC, Morris AP (2017). “Trans-ethnic meta-regression of genome-wide association studies accounting for ancestry increases power for discovery and improves fine-mapping resolution.” Human molecular genetics, 26(18), 3639--3650.

Author

Siru Wang