variants: Retrieve variants from a musica object

variantsR Documentation

Retrieve variants from a musica object

Description

The variants data.table contains the variants and variant-level annotations

Usage

variants(object)

## S4 method for signature 'musica'
variants(object)

variants(musica) <- value

## S4 replacement method for signature 'musica,data.table'
variants(musica) <- value

Arguments

object

A musica object generated by the create_musica_from_variants or create_musica_from_counts function.

musica

A musica object generated by the create_musica_from_variants or create_musica_from_counts function

value

A data.table of mutational variants and variant-level annotations

Value

A data.table of variants

Examples

data(res)
variants(res)

campbio/musicatk documentation built on Dec. 25, 2024, 9:34 p.m.