filterVariantType.Rd
This function filters out from the variants of the input vcf file those corresponding to the type specified in the variantType argument: synonymous, nonsynonymous, frameshift, nonsense, not translated or a combination of them.
filterVariantType(vcf, assembly, variantType)
vcf | a |
---|---|
assembly | human genome assembly: "hg19" or "hg38" |
variantType | type of variant to remove. Possible values are: synonymous, nonsynonymous, frameshift, nonsense, not translated or a combination of them. |
Returns a CollapsedVCF
or data.frame
object containing
those variants which passed the filter.
Laura Fancello