findClosestCOSMIC30_withSimilarity: Find closest COSMIC30 signatures

View source: R/signatures_utils.R

findClosestCOSMIC30_withSimilarityR Documentation

Find closest COSMIC30 signatures

Description

Compares a set of signatures to the COSMIC30 signatures and returns the list of signatures identified and the corresponding similarity. For example, list(cosmic = c("C1","C3","C13"),cos_sim = c(0.94,0.85,0.7)) means that Cosmic (C) signatures 1, 3 and 13 were found, while the corrsponding similarities to those signatures are 0.94, 0.85 and 0.7

Usage

findClosestCOSMIC30_withSimilarity(sigs)

Arguments

sigs

matrix with 96-channel substitution signatures as columns

Value

the list of signatures identified and corresponding similarities


Nik-Zainal-Group/signature.tools.lib documentation built on April 13, 2025, 5:50 p.m.