Learn R Programming

WhopGenome (version 0.9.4)

vcf_isSNP: 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

Value

None.

Details

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

See Also

vcf_isINDEL

Examples

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

Run the code above in your browser using DataLab