Description Usage Arguments Value Note Author(s) References Examples
View source: R/TGCA.decorrelate.R
The function re-weights GWAS Z-scores acorss multiple phenotypes by sample sizes and adjusts their phenotypic correlation before running TGCA.
1 | TGCA.decorrelate(tstat, N, MAF, maf.cut = 5e-04, eigen.cut = 0.9)
|
tstat |
A data frame of GWAS Z-scores across K phenotypes of M SNPs. |
N |
A vector of the sample size of K phenotypes. |
MAF |
A vector of minor alle frequency of M SNPs. |
maf.cut |
A value defining the low-MAF cutoff, where the SNPs with lower MAF values will be used to estimate the phenotypic correlations. Default 5e-4. |
eigen.cut |
A value defining the proportion of information captured by the decorrelated eigenvectors. Default 0.9. |
A list of two elements, where z.decorrelated
contains a matrix of decorrelated Z-scores corresponding to the M SNPs, and cor.pheno
gives the estimated phenotypic correlation matrix.
You can also use this fuction to re-weight GWAS Z-scores acorss multiple phenotypes by sample size and adjust their phenotypic correlation.
Ting Li, Xia Shen
Shen, X., Li, T., Ning, Z. (2020). Improved estimation of phenotypic correlations using summary association statistics. bioRxiv.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.