dot-cdat_from_mixed: Helper function to extract colocalisation regions for when...

.cdat_from_mixedR Documentation

Helper function to extract colocalisation regions for when one dataset comes from a local file and another from OpenGWAS.

Description

Helper function to extract colocalisation regions for when one dataset comes from a local file and another from OpenGWAS.

Usage

.cdat_from_mixed(f1, f2, chrpos, verbose = TRUE)

Arguments

f1

File path or OpenGWAS ID for trait 1

f2

File path or OpenGWAS ID for trait 2

chrpos

Character of the format chr:pos1-pos2

verbose

Display verbose information (Optional, boolean)

Value

list of coloc-ready data

See Also

[gwasglue::gwasvcf_to_coloc()], [gwasglue::ieugwasr_to_coloc()]


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