exposures {musicatk} | R Documentation

## Retrieve exposures from a musica_result object

### Description

The `exposure` matrix contains estimated amount of each signature for each sample. Rows correspond to each signature and columns correspond to each sample.

### Usage

    exposures(result)

    ## S4 method for signature 'musica_result'
    exposures(result)

    exposures(result) <- value

    ## S4 replacement method for signature 'musica_result,matrix'
    exposures(result) <- value

### Arguments

`result` | A `musica_result` object generated by a mutational discovery or prediction tool.
`value` | A matrix of samples by signature exposures

### Value

A matrix of exposures

### Examples

    data(res)
    exposures(res)
    data(res)
    exposures(res) <- matrix()

[Package musicatk version 1.2.0 Index]