dot-gwasvcf_to_pwcoco: Prepare gwasvcf files for PWCoCo

.gwasvcf_to_pwcocoR Documentation

Prepare gwasvcf files for PWCoCo

Description

Write files for PWCoCo where data are read from two VCF objects or files.

Usage

.gwasvcf_to_pwcoco(vcf1, vcf2, chrompos, type1 = NULL, type2 = NULL, outfile)

Arguments

vcf1

VCF object or path to VCF file

vcf2

VCF object or path to VCF file

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.