View source: R/plot_arm_fragmentation.R
plot_arm_fragmentation | R Documentation |
This function produces a arm-level report for the fragmentation test, with:
* a scatter of the counts per arm, with scaled the p-values; * a jump statistics per arm, $J$, the sum of the variation in total copy number profiles, evaluated among each pair of contiguous segments.
Significantly overfragmented arms with high $J$ have a “scattered” copy number profile. Those with low $J$ are more uniform, as they show little no copy number change, and can be possibly smoothed (see below).
plot_arm_fragmentation(x, zoom = 0)
x |
A CNAqc object. |
zoom |
Number of maximum zoom panels to show in the bottom of the figure. By default 0. |
A ggpubr
figure
data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
x = detect_arm_overfragmentation(x, genome_percentage_cutoff = .2)
plot_arm_fragmentation(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.