R/compare_results.R
compare_cosmic_v2.Rd
Compare a result object to COSMIC V2 SBS Signatures (combination whole-exome and whole-genome)
compare_cosmic_v2( result, threshold = 0.9, metric = "cosine", result_name = deparse(substitute(result)) )
result | A |
---|---|
threshold | threshold for similarity |
metric | One of |
result_name | title for plot user result signatures |
Returns the comparisons
data(res) compare_cosmic_v2(res, threshold = 0.7) #> cosine x_sig_index y_sig_index x_sig_name y_sig_name #> 4 0.9742418 3 7 Signature3 Signature7 #> 5 0.7730161 3 11 Signature3 Signature11 #> 6 0.7568463 3 30 Signature3 Signature30 #> 1 0.7337470 1 13 Signature1 Signature13 #> 2 0.7296889 2 5 Signature2 Signature5 #> 3 0.7107142 2 19 Signature2 Signature19