contigHap: Assembles the contig haplotype from a phased vcf

Description Usage Arguments Value Examples

Description

Merge SNPs from the same contig to generate haplotype data; the vcf file must be phased.

Usage

1
contigHap(filePath = NULL, dataIn)

Arguments

filePath

full path to the vcf file; this calls the vcfLoad

dataIn

data.table obtained using vcfLoad function

Value

A data.table with the contig name, sample id and haplotype.

Examples

1
# To follow

dinmatias/reconproGS documentation built on May 19, 2019, 1:43 a.m.