Learn R Programming

WhopGenome (version 0.9.4)

vcf_close: Close a VCF file previously opened with vcf_open.

Description

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

Usage

vcf_close(vcf_filehandle)

Arguments

vcf_filehandle
A VCF filehandle returned by vcf_open

Value

None

Details

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

See Also

vcf_open

Examples

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

Run the code above in your browser using DataLab