View source: R/plot_mutations.R
plot_data | R Documentation |
Function to visualize the input and reconstructed mutation counts.
plot_data(
x,
types = get_types(x),
samples = get_samples(x),
clusters = get_cluster_labels(x),
reconstructed = TRUE,
color_by_sigs = FALSE
)
x |
bascule object. |
types |
List of variant types to visualize. |
samples |
List of samples to visualize. |
clusters |
List of clusters to visualize. |
reconstructed |
Logical. If 'TRUE', the reconstructed counts, i.e., computed as alpha x beta, will be visualized. |
color_by_sigs |
Logical. If 'TRUE', each context will report the number of mutations split by signature. |
ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.