plot_sample_reconstruction_error: Plot reconstruction error for a sample

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

Displays the observed distribution of counts for each mutation type, the distribution of reconstructed counts for each mutation type using the inferred mutational signatures, and the difference between the two distributions.

Usage

1

Arguments

result

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

sample

Name of the sample within the musica_result object.

plotly

If TRUE, the the plot will be made interactive using plotly. Default FALSE.

Value

Generates a ggplot or plotly object

Examples

1
2
data(res)
plot_sample_reconstruction_error(res, "TCGA-ER-A197-06A-32D-A197-08")

musicatk documentation built on Nov. 8, 2020, 5:16 p.m.