View source: R/plot_sample_reconstruction_error.R
plot_sample_reconstruction_error | R Documentation |
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.
plot_sample_reconstruction_error(
musica,
sample,
model_id,
modality = "SBS96",
result_name = "result",
plotly = FALSE
)
musica |
A |
sample |
Name of the sample within the |
model_id |
The name of the desired model. |
modality |
The modality of the model. Must be "SBS96", "DBS78",
or "IND83". Default |
result_name |
Name of the result list entry containing desired model.
Default |
plotly |
If |
Generates a ggplot or plotly object
data(res)
plot_sample_reconstruction_error(res, "TCGA-ER-A197-06A-32D-A197-08",
model_id = "res")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.