Description Usage Arguments Value Author(s) Examples
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
1 | Get_UV_from_beta(Beta, Beta.se, R)
|
Beta |
a numeric list, each sublist containing estimation information of genetic effect estimates β for each study. In each study, a numeric m \times K matrix with each row as a SNP and each column as a separate trait. The number of traits and the number of SNPs in each study can be different but their names are required. |
Beta.se |
a numeric list, each sublist containing the standard error of estimators information for each study. In each study, a numeric m \times K matrix with each row as a SNP and each column as a separate trait. |
R |
a SNP correlation matrix, which should contain the correlation of all the SNPs in these studies. |
A list containing summary statistics for each traits, including the score summary statistics U and their covariance matrix V.
Lan Luo
1 2 3 4 | data("beta.example")
attach(beta.example)
obs.stat <- Get_UV_from_beta(Beta = Beta, Beta.se = Beta.se, R = R)
detach(beta.example)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.