signatures: Retrieve signatures from a musica_result object

signaturesR Documentation

Retrieve signatures from a musica_result object

Description

The signature matrix contains the probability of mutation motif in each sample. Rows correspond to each motif and columns correspond to each signature.

Usage

signatures(result)

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

signatures(result) <- value

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

Arguments

result

A musica_result object generated by a mutational discovery or prediction tool.

value

A matrix of motifs counts by samples

Value

A matrix of mutational signatures

Examples

data(res)
signatures(res)
data(res)
signatures(res) <- matrix()

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