vcf_isSNP {WhopGenome} | R Documentation |
Determines whether the last vcf_parse/VCF_parse-call returned a SNP (instead of InDel)
vcf_isSNP(vcff)
vcff |
VCF file handle |
Use .Call("VCF_isSNP", vcff ) to eliminate the overhead of using the R wrapper function.
None.
Ulrich Wittelsbuerger
vcf_isINDEL
vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") ) vcf_parseNextSNP( vcffile ) vcf_getPos( vcffile ) vcf_isSNP( vcffile )