filterVariantType: Filter variants by the specified type

Description Usage Arguments Value Author(s)

View source: R/filterVariantType.R

Description

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.

Usage

1
filterVariantType(vcf, assembly, variantType)

Arguments

vcf

a CollapsedVCF or data.frame object containing variants

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.

Value

Returns a CollapsedVCF or data.frame object containing those variants which passed the filter.

Author(s)

Laura Fancello


acc-bioinfo/TMBleR documentation built on Dec. 18, 2021, 10:21 p.m.