Get_UV_from_varU {MTAR} | R Documentation |
Compute the summary statistics given the score statistics and their variance.
Description
This function allows you to calculate the score summary statistics U
and their covariance matrix V
for MTAR, given the score summary statistics and their variance.
Usage
Get_UV_from_varU(U, varU, R)
Arguments
U |
a numeric list, each sublist containing score summary statistics |
varU |
a numeric list, each sublist containing the variance of score summary statistics 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, the score summary statistics U
and their covariance matrix V
.
Author(s)
Lan Luo
Examples
data("varU.example")
attach(varU.example)
obs.stat <- Get_UV_from_varU(U = U, varU = varU, R= R)
obs.stat
detach(varU.example)