R/misc.R

Defines functions vcf_getfieldnames vcf_getnumcontigs vcf_getcontignames vcf_getheaderline vcf_isSNP vcf_isINDEL

Documented in vcf_getcontignames vcf_getfieldnames vcf_getheaderline vcf_getnumcontigs vcf_isINDEL vcf_isSNP

###
###
###
###
###
###


vcf_getfieldnames <- function( vcff )	return( .Call("VCF_getFieldNames",vcff,PACKAGE="WhopGenome") )

vcf_getnumcontigs <- function( vcff )	return( .Call("VCF_getNumContigs",vcff,PACKAGE="WhopGenome") )

vcf_getcontignames <- function( vcff )	return( .Call("VCF_getContigNames",vcff,PACKAGE="WhopGenome") )

vcf_getheaderline <- function( vcff, whichnum )	return( .Call("VCF_getHeaderLine",vcff,whichnum,PACKAGE="WhopGenome") )


###
#
#	both use			f->getFieldPtr(REF) cmp f->getFieldPtr(ALT)
#

vcf_isSNP <- function( vcff )	return( .Call("VCF_isSNP",vcff,PACKAGE="WhopGenome") )

vcf_isINDEL <- function( vcff )	return( .Call("VCF_isInDel",vcff,PACKAGE="WhopGenome") )

Try the WhopGenome package in your browser

Any scripts or data that you put into this service are public.

WhopGenome documentation built on May 1, 2019, 10:12 p.m.