variants: Retrieve variants from a musica or musica_result object

variantsR Documentation

Retrieve variants from a musica or musica_result object

Description

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

Usage

variants(object)

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

## S4 method for signature 'musica_result'
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 function or a musica_result object generated by a mutational discovery or prediction tool.

musica

A musica object generated by the create_musica function

value

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

Value

A data.table of variants

Examples

data(res)
variants(res)
data(musica)
variants(musica)

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