Learn R Programming

kmeRtone (version 1.0)

readVCF: Read VCF file using tabix.

Description

Require tabix in PATH VCF manual is referred from https://samtools.github.io/hts-specs/VCFv4.3.pdf

Usage

readVCF(vcf.file, chr.names, starts, ends, INFO.filter = NULL)

Value

A data.table of VCF.

Arguments

vcf.file

A path to a local or remote tabix-indexed VCF file.

chr.names

Chromosome names.

starts

Start positions.

ends

End positions.

INFO.filter

Parse only filtered INFO ID. Default is to parse all IDs.