Get_UV_from_beta {MTAR} | R Documentation |
Compute the summary statistics given the genetic effect estimates and their standard errors
Description
This function allows you to calculate the score summary statistics U
and their covariance matrix V
for MTAR, given the genetic effect estimates and their standard errors
Usage
Get_UV_from_beta(Beta, Beta.se, R)
Arguments
Beta |
a numeric list, each sublist containing estimation information of genetic effect estimates |
Beta.se |
a numeric list, each sublist containing the standard error of estimators information for each study. In each study, a numeric |
R |
a SNP correlation matrix, which should contain the correlation of all the SNPs in these studies. |
Value
A list containing summary statistics for each traits, including the score summary statistics U
and their covariance matrix V
.
Author(s)
Lan Luo
Examples
data("beta.example")
attach(beta.example)
obs.stat <- Get_UV_from_beta(Beta = Beta, Beta.se = Beta.se, R = R)
detach(beta.example)