Skip to contents

Reads the per-chromosome PLINK `.frq` files for the reference panel and stacks them into a single data.frame of CHR, SNP, MAF. Feeds the frq slot of SldscData.

Usage

readSldscFrq(frqfileDir, plinkName = "ADSP_chr")

Arguments

frqfileDir

Character. Directory of `.frq` files.

plinkName

Character. Filename prefix (files at `plinkNamechr.frq`). Falls back to all `*.frq` in the directory when the prefix matches nothing.

Value

A data.frame: CHR, SNP, MAF.