subset_snvs | R Documentation |
This function removes all non-SNVs mutations, re-creating a new CNAqc object with just SNVs. All analyses are lost.
subset_snvs(
x,
ref_nucleotides = c("A", "C", "T", "G"),
alt_nucleotides = c("A", "C", "T", "G")
)
x |
A CNAqc object. |
ref_nucleotides |
What reference alleles to use, default |
alt_nucleotides |
What alternative alleles to use, default |
A new CNAqc dataset created with init
.
data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
subset_snvs(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.