subset_variant_by_type: Subsets a variant table based on Variant Type

Description Usage Arguments Value Examples

View source: R/annotate_variants.R

Description

Subsets a variant table based on Variant Type

Usage

1

Arguments

tab

Input variant table

type

Variant type to return e.g. "SBS", "INS", "DEL", "DBS"

Value

Returns the input variant table subsetted to only contain variants of the specified variant type

Examples

1
2
3
bay <- readRDS(system.file("testdata", "bagel.rds", package = "BAGEL"))
annotate_variant_type(bay)
subset_variant_by_type(get_variants(bay), "SBS")

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