View source: R/compare_results.R
compare_cosmic_v3 | R Documentation |
Compare a result object to COSMIC V3 Signatures; Select exome or genome for SBS and only genome for DBS or Indel classes
compare_cosmic_v3(
result,
variant_class,
sample_type,
metric = "cosine",
threshold = 0.9,
result_name = deparse(substitute(result)),
decimals = 2,
same_scale = FALSE
)
result |
A |
variant_class |
Compare to SBS, DBS, or Indel |
sample_type |
exome (SBS only) or genome |
metric |
One of |
threshold |
threshold for similarity |
result_name |
title for plot user result signatures |
decimals |
Specifies rounding for similarity metric displayed. Default
|
same_scale |
If |
Returns the comparisons
data(res)
compare_cosmic_v3(res, "SBS", "genome", threshold = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.