signatures.plot {SparseSignatures} | R Documentation

## signatures.plot

### Description

Plot the discovered signatures.

### Usage

    signatures.plot(beta, useColNames = TRUE, mutation_categories = NULL,
      firstBackground = TRUE, xlabels = TRUE)

### Arguments

`beta` | discovered signatures
`useColNames` | boolean value; shall I use the colnames from beta as names for the signatures?
`mutation_categories` | if useColNames is FALSE, the trinucleotides categories to be considered can be specified. An example is provided in the package and can be loaded by data(mutation_categories)
`firstBackground` | boolean value; shall I display the background signature as the first element?
`xlabels` | boolean value; shall I display x labels?

### Value

A ggplot2 object

### Examples

    data(nmf_LassoK_example)
    beta = as.beta(nmf_LassoK_example)
    signatures.plot(beta=beta)

[Package SparseSignatures version 1.6.0 Index]