Skip to contents

Read a PLINK2 allele frequency file (.afreq or .afreq.zst)

Usage

read_afreq(prefix)

Arguments

prefix

File prefix (without .afreq extension).

Value

A data.frame with columns: chrom, id, A2 (REF), A1 (ALT), alt_freq, obs_ct. alt_freq is the frequency of the A1 (ALT/effect) allele.