variants {musicatk} | R 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)

[Package musicatk version 1.0.0 Index]