vcf_close: Close a VCF file previously opened with vcf_open.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/file.R

Description

Closes the VCF file described by the given handle and prevents subsequent use.

Usage

1
vcf_close(vcf_filehandle)

Arguments

vcf_filehandle

A VCF filehandle returned by vcf_open

Details

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

Value

None

Author(s)

Ulrich Wittelsbuerger

See Also

vcf_open

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
	##
	##	Example:
	##
	vcffile <- system.file( "extdata" , "ex.vcf.gz" , package="WhopGenome" )
	vcffile
	vcffh <- vcf_open( vcffile )
	vcffh
	
	##
	##
	vcf_close( vcffh )

WhopGenome documentation built on May 1, 2019, 10:12 p.m.