This function removes from the input variants those with variant allele frequency (VAF) inferior to the cutoff value provided. The AF field is required in the input vcf file to apply this function.

filterByVAF(vcf, vaf.cutoff)

Arguments

vcf

a CollapsedVCF object containing somatic variants

vaf.cutoff

minimum value of variant allele frequency accepted

Value

Returns a CollapsedVCF object containing only variants with variant allele frequency above the cutoff

Author

Laura Fancello