inverse_metaAnalaysis: Generic inverse variance meta analysis

View source: R/shaPRS.R

inverse_metaAnalaysisR Documentation

Generic inverse variance meta analysis

Description

Convenience function to produce the combined phenotype estimate if we only have summary stats for phenoA and pheno B

Usage

inverse_metaAnalaysis(proximal, adjunct, rho = 0, discardAmbiguousSNPs = T)

Arguments

proximal

dataframe for main proximal

adjunct

dataframe for other proximal

rho

(optional) overlap between studies

discardAmbiguousSNPs

(optional) if ambiguous SNPs (G/C and A/T) should be discarded (default TRUE)

Value

returns Combinedpheno dataframe that can be plugged into shaPRS_blend or shaPRS_composite


mkelcb/shaprs documentation built on Feb. 7, 2023, 7:16 p.m.