For a given region and VCF file, extracts the variants in the region along with LD matrix from a reference panel

gwasvcf_to_finemapr(
  region,
  vcf,
  bfile,
  plink_bin = genetics.binaRies::get_plink_binary(),
  threads = 1
)

Arguments

region

Region of the genome to extract eg 1:109317192-110317192". Can be array

vcf

Path to VCF file or VCF object

bfile

LD reference panel

plink_bin

Path to plink. Default = genetics.binaRies::get_plink_binary()

threads

Number of threads to run in parallel. Default=1

Value

List of datasets for finemapping