Learn R Programming

WhopGenome (version 0.9.4)

vcf_isINDEL: Determines whether the last vcf_parse-call returned a InDel (instead of SNP)

Description

Returns TRUE if the last call to vcf_parse/VCF_parse returned an InDel.

Usage

vcf_isINDEL(vcff)

Arguments

vcff
VCF file handle

Value

TRUE or FALSE.

Details

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

See Also

vcf_isSNP

Examples

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

Run the code above in your browser using DataLab