Read a PLINK2 allele frequency file (.afreq or .afreq.zst)
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.