Please see https://github.com/GenomicSEM/GenomicSEM/wiki/5.-Multivariate-GWAS
Calculating Sample Size for Factors Once the summary statistics for a common factor are produced, the user may wish to input those summary statistics into an outside program that requires a sample size (e.g., LDSC, LDpred). A description of one method for calculating effective sample size can be found in the online supplement of bioRxiv pre-print from Mallard et al. (2019): https://www.biorxiv.org/content/10.1101/603134v1.abstract. The equation described in the supplement can be written as below to produce the effective sample size for Factor 1. Note that the recommendation is also made to restrict the summary statistics to MAF limits of approximately 10% and 40% in order to produce more stable estimates.Thank you so much for developing this wonderful tool!
I ran multivariate gwas for four factors, and when I calculated the implied sample size for one of the resulting factor gwas using the provided formula, I got an extremely large value of 15 million. I was wondering if this means there is some inflation in the estimation and if the implied sample size calculation could be adjusted to provide more accurate results.
Thank you so much!—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Thank you so much for your reply!
I did use the formula that you provided above to calculate the implied sample size. I checked the SE of my factor gwas result and the number was small with mean of about 0.0006. I was wondering if this was affecting the estimate to give me a very large implied sample size.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
Thank you so much for your reply!
Does this mean in the multivariate gwas analysis, a trait with low h2 was used as unit loading identification for this factor so I get a very large sample size estimate? I was wondering if I could use this large sample size in LDSC estimate, or I should use a different sample size estimate method.
Thank you so much!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.