exposures: Retrieve exposures from a musica_result object

exposuresR 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()

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