subset_by_segment_minmutations | R Documentation |
It retains only the set of clonal segments that have mapped at least 'n' mutations mapped.
subset_by_segment_minmutations(x, n = 50)
x |
A CNAqc object. |
n |
The minimum number of mutations per segment. |
A CNAqc object that should have less segments.
data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
subset_by_segment_minmutations(x, 0)
subset_by_segment_minmutations(x, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.