add_variant_type {musicatk} | R Documentation

## Generates a variant type table

### Description

Generates a variant type table

### Usage

    add_variant_type(tab)

### 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

    data(musica)
    variants <- variants(musica)
    musicatk:::add_variant_type(variants)

[Package musicatk version 1.2.0 Index]