vcf_isINDEL {WhopGenome}R Documentation

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

Details

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

Value

TRUE or FALSE.

Author(s)

Ulrich Wittelsbuerger

See Also

vcf_isSNP

Examples

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

[Package WhopGenome version 0.9.7 Index]