subset_variant_by_type: Subsets a variant table based on Variant Type

View source: R/annotate_variants.R

subset_variant_by_typeR Documentation

Subsets a variant table based on Variant Type

Description

Subsets a variant table based on Variant Type

Usage

subset_variant_by_type(tab, type)

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

data(musica)
annotate_variant_type(musica)
subset_variant_by_type(variants(musica), "SBS")

campbio/musicatk documentation built on July 14, 2024, 8:28 a.m.