Uses the finemapr package https://github.com/variani/finemapr

ieugwasr_to_finemapr(region, id, bfile = NULL, plink_bin = NULL)

Arguments

region

Region of the genome to extract eg 1:109317192-110317192"

id

Array of GWAS studies to query. See gwasinfo for available studies

bfile

If this is provided then will use the API. Default = NULL

plink_bin

If null and bfile is not null then will detect packaged plink binary for specific OS. Otherwise specify path to plink binary. Default = NULL

Value

Each id will be a list of z score data, ld matrix, and sample size