QueryAnnotatedVCF: FilterAnnotatedVCF

View source: R/firevat_annotation.R

QueryAnnotatedVCFR Documentation

FilterAnnotatedVCF

Description

Annotates a vcf.obj using df.variants.of.interest (from (PrepareAnnotationDB)

Usage

QueryAnnotatedVCF(
  vcf.obj.annotated,
  filter.key.value.pairs,
  filter.condition = "AND"
)

Arguments

vcf.obj.annotated

AnnotateVCFObj

filter.key.value.pairs

A list with the key as the column name and value as the filtering values. E.g. list("CLNSIG" = c("Pathogenic", "Pathogenic/Likely_pathogenic"))

filter.condition

'AND' or 'OR'.

Value

A vcf.obj


cgab-ncc/FIREVAT documentation built on Nov. 19, 2022, 5:55 p.m.