subset_by_segment_totalcn | R Documentation |
Retains only a subset of clonal simple segments, e.g., all segments with total ploidy 2.
subset_by_segment_totalcn(x, totalcn)
x |
A CNAqc object. |
totalcn |
The total (Major + minor) copy numbers to filter. |
x A new CNAqc object with subset data.
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_totalcn(x, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.