plot_smoothing: Plot smoothed and non-smoohted segments.

View source: R/plot_smoothing.R

plot_smoothingR Documentation

Plot smoothed and non-smoohted segments.

Description

Upon using the 'smooth_segments' function, this function plots a multipanel figure with the segments profile before and after smoothing.

Usage

plot_smoothing(x)

Arguments

x

A CNAq object.

Value

A ggpubr figure..

See Also

smooth_segments

Examples

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)

caravagnalab/CNAqc documentation built on Oct. 31, 2024, 3:54 a.m.