meta_analysis {KnockoffTrio}R Documentation

Meta-analysis for KnockoffTrio

Description

Meta-analysis for KnockoffTrio

Usage

meta_analysis(window, n = NA, M = 10)

Arguments

window

A list of windows for the analysis results from different cohorts/studies.

n

A positive integer vector for the number of trios in each cohort/study. For weighted meta-analysis, a study's weight is based on the number of trios. The default is NA for unweighted meta-analysis.

M

A positive integer for the number of knockoffs. The default is 10.

Value

A data frame for the meta-analysis results.

Examples

data(KnockoffTrio.example)
dat.ko<-create_knockoff(KnockoffTrio.example$dat.hap,KnockoffTrio.example$pos,M=10)
window<-data.matrix(KnockoffTrio(KnockoffTrio.example$dat,dat.ko,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.15)

[Package KnockoffTrio version 1.0.2 Index]