Last data update: 2014.03.03
|
R: Removes all filter steps.
vcf_clearfilters | R Documentation |
Removes all filter steps.
Description
Removes all active filters, no pre-filtering of returned lines will take place.
There is no function to undo this step.
Usage
vcf_clearfilters(vcffh)
Arguments
Details
Use .Call("VCF_clearFilters", vcffh ) to eliminate the overhead of using the R wrapper function.
Value
None.
Author(s)
Ulrich Wittelsbuerger
Examples
##
## Example:
##
vcffile <- vcf_open( system.file( "extdata" , "ex.vcf.gz" , package="WhopGenome" ) )
vcf_setregion(vcffile, "Y", 1, 100000 )
vcf_addfilter( vcffile, "POS", "", "INT_CMP_OO",
as.integer(49005), as.integer(49007), "DROP" )
vcf_describefilters( vcffile )
####
####
vcf_readLineVecFiltered( vcffile )
vcf_readLineVecFiltered( vcffile )
vcf_readLineVecFiltered( vcffile )
#######
#######
vcf_clearfilters( vcffile )
vcf_describefilters( vcffile )
vcf_restartregion( vcffile )
####
####
vcf_readLineVecFiltered( vcffile )
vcf_readLineVecFiltered( vcffile )
vcf_readLineVecFiltered( vcffile )
##
##
vcf_close( vcffile )
Results
|