Use the VEP region API on variant information in a VCF object as defined in VariantAnnotation.
Source:R/use_vep_api.R
vep_by_region.RdUse the VEP region API on variant information in a VCF object as defined in VariantAnnotation.
Arguments
- vcfobj
instance of VCF class; note the difference between the CollapsedVCF and ExpandedVCF instances.
- snv_only
logical(1) if TRUE filter the VCF to information about single nucleotide addresses
- chk_max
logical(1) requests to ensembl VEP API are limited to 200 positions; if TRUE and the request involves more than 200 positions, an error is thrown by this function.