View source: R/plot_smoothing.R
plot_smoothing | R Documentation |
Upon using the 'smooth_segments' function, this function plots a multipanel figure with the segments profile before and after smoothing.
plot_smoothing(x)
x |
A CNAq object. |
A ggpubr
figure..
smooth_segments
data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
# Smooth
x = smooth_segments(x)
# View differences
plot_smoothing(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.