add_variant_type: Generates a variant type table

Description Usage Arguments Value Examples

View source: R/annotate_variants.R

Description

Generates a variant type table

Usage

1

Arguments

tab

Input variant table

Value

Returns the inputted variant table with variant type ("SBS", "DBS", "INS", "DEL") added as an appended "Variant_Type" column

Examples

1
2
bay <- readRDS(system.file("testdata", "bagel.rds", package = "BAGEL"))
BAGEL:::add_variant_type(bay@variants)

campbio/BAGEL documentation built on Oct. 6, 2020, 3:59 a.m.