View source: R/meta_analysis.R
meta_analysis | R Documentation |
Meta-analysis for KnockoffTrio
meta_analysis(window, n = NA, M = 10)
window |
A list of windows for the analysis results from different cohorts/studies. |
n |
A positive integer vector for the number of families in each cohort/study. For weighted meta-analysis, a study's weight is based on the number of families. The default is NA for unweighted meta-analysis. |
M |
A positive integer for the number of knockoffs. The default is 10. |
A data frame for the meta-analysis results.
data(KnockoffTrio.example)
knockoff<-create_knockoff(trio.hap=KnockoffTrio.example$trio.hap,
duo.hap=KnockoffTrio.example$duo.hap, pos=KnockoffTrio.example$pos, M=10)
window<-KnockoffTrio(trio=KnockoffTrio.example$trio, trio.ko=knockoff$trio.ko,
duo=knockoff$duo, duo.ko=knockoff$duo.ko, pos=KnockoffTrio.example$pos)
window.list<-list(window,window)
window.meta<-meta_analysis(window.list,M=10)
result<-causal_loci(window.meta,M=10,fdr=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.