gwasvcf_to_finemapr: Generate data for fine mapping analysis

Description Usage Arguments Value

View source: R/finemapr.r

Description

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

Usage

1
2
3
4
5
6
7
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


MRCIEU/gwasglue documentation built on Feb. 15, 2022, 3:25 p.m.