View source: R/plot_genome_wide_mutations.R
plot_gw_counts | R Documentation |
Plot a genome-wide histogram of mutation counts, binned every one megabase ('1e6' nucleotides).
plot_gw_counts(x, chromosomes = paste0("chr", c(1:22, "X", "Y")))
x |
A CNAqc object. |
chromosomes |
The chromosomes to use for this plot. |
A ggplot2
plot.
data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
plot_gw_counts(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.