dot-ieugwasr_to_pwcoco: Prepare ieugwasr data for PWCoCo

.ieugwasr_to_pwcocoR Documentation

Prepare ieugwasr data for PWCoCo

Description

Write files for PWCoCo where data are read from the OpenGWAS DB.

Usage

.ieugwasr_to_pwcoco(id1, id2, chrompos, type1 = NULL, type2 = NULL, outfile)

Arguments

id1

ID for trait 1

id2

ID for trait 2

chrompos

Character of the format chr:pos1-pos2

type1

How to treat vcffile1 for coloc, either "quant" or "cc" (Optional)

type2

How to treat vcffile2 for coloc, either "quant" or "cc" (Optional)

outfile

Path to output files, without file ending

Value

0 if success, 1 if there was a problem


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