plot_CCF | R Documentation |
This function extracts the plots of the Cancer Cell Fractions (CCFs) estimates from a 'CNAqc' object, after they have been computed using function 'compute_CCF'. The plots - one per computed karyotype - are assembled into a 'ggpubr' figure.
plot_CCF(x, strip = FALSE, empty_plot = TRUE, assembly_plot = TRUE)
x |
An object of class |
strip |
If |
empty_plot |
If data for one karyotype is missing, an empty plot is returned. Otherwise the plot is not returned (NULL is forwarded). |
assembly_plot |
If |
A 'ggpubr' figure of the CCF estimates.
data('example_dataset_CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna =example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
x = compute_CCF(x)
plot_CCF(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.