get_population_allele_frequency: Estimate the allele frequency in population from case/control...

View source: R/add_rsq.r

get_population_allele_frequencyR Documentation

Estimate the allele frequency in population from case/control summary data

Description

Estimate the allele frequency in population from case/control summary data

Usage

get_population_allele_frequency(af, prop, odds_ratio, prevalence)

Arguments

af

Effect allele frequency (or MAF)

prop

Proportion of samples that are cases

odds_ratio

Odds ratio

prevalence

Population disease prevalence

Value

Population allele frequency


MRCIEU/TwoSampleMR documentation built on Sept. 28, 2024, 6:51 p.m.