subset_by_minimum_CCF | R Documentation |
Retains only a subset of mutations, if they have CCF above a cutoff. Note that subclonal CNAs are lost upon application of this function.
subset_by_minimum_CCF(x, min_target_CCF = 0.1)
x |
A new CNAqc object with subset data. |
min_target_CCF |
The minimum CCF do be enforced. |
data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
# Original data
plot_data_histogram(x)
# Original data if CCF is above 10%
plot_data_histogram(subset_by_minimum_CCF(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.