plot_segment_size_distribution: Plot the length of clonal simple CNAs.

View source: R/plot_segment_size_distribution.R

plot_segment_size_distributionR Documentation

Plot the length of clonal simple CNAs.

Description

This is the histogram of the number of bases (length) in each copy number segment, for clonal simple CNAs.

Usage

plot_segment_size_distribution(x, annotate_cut = 1e+07)

Arguments

x

A CNAqc object.

annotate_cut

A custom vertical line annotation, by default at '1e7' megabases.

Value

A ggplot2 plot.

Examples

data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)

plot_segment_size_distribution(x)

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