vcf_isSNP {WhopGenome}R Documentation

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

Description

Determines whether the last vcf_parse/VCF_parse-call returned a SNP (instead of InDel)

Usage

vcf_isSNP(vcff)

Arguments

vcff

VCF file handle

Details

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

Value

None.

Author(s)

Ulrich Wittelsbuerger

See Also

vcf_isINDEL

Examples

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

[Package WhopGenome version 0.9.7 Index]