Learn R Programming

WhopGenome (version 0.9.4)

vcf_open: Open the specified VCF file and return a filehandle for subsequent access.

Description

Open the specified VCF file and return a filehandle for subsequent access.

Usage

vcf_open(filename)

Arguments

filename
A filename of a tabix-indexed and gzip-compressed VCF file

Value

A VCF file handle, used in most VCF functions

Details

Use .Call("VCF_open", filename ) to eliminate the overhead of using the R wrapper function.

Examples

Run this code
	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )

Run the code above in your browser using DataLab