Description Usage Arguments Details Value Author(s) Examples
Prints a better understandable description of the filter rules currently active for the given VCF file.
1 | vcf_describefilters(vcffh)
|
vcffh |
VCF file handle |
Use .Call("VCF_describeFilterConfig", filename ) to eliminate the overhead of using the R wrapper function. Note the different naming of the library function!
None.
Ulrich Wittelsbuerger
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ##
## 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 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.