extract_matched_regions: Extract SNPs based on region for colocalisation analyses. Can...

View source: R/coloc.r

extract_matched_regionsR Documentation

Extract SNPs based on region for colocalisation analyses. Can be used before calling the 'do_coloc' function or will be called as part of that function automatically.

Description

Extract SNPs based on region for colocalisation analyses. Can be used before calling the 'do_coloc' function or will be called as part of that function automatically.

Usage

extract_matched_regions(dat, window = 5e+05, cores = 1, verbose = TRUE)

Arguments

dat

A data.frame of harmonised data

window

Window around SNPs to extract (Optional)

cores

Number of cores for multi-threaded tasks (Optional) NB: Unavailable on Windows machines

verbose

Display verbose information (Optional, boolean)

Value

Named list of matched regional data

See Also

[mrpipeline::do_coloc()]


jwr-git/mrpipeline documentation built on Oct. 2, 2022, 3:41 p.m.