RelabelExSigs: Append most similar reference signature and pairwise cosine...

View source: R/RelabelExSigs.R

RelabelExSigsR Documentation

Append most similar reference signature and pairwise cosine similarity to the name of each extracted signature in matrix of extracted signatures.

Description

Append most similar reference signature and pairwise cosine similarity to the name of each extracted signature in matrix of extracted signatures.

Usage

RelabelExSigs(sigAnalysis)

Arguments

sigAnalysis

A list returned by function ReadAndAnalyzeSigs, at least including:

  1. ex.sigs: matrix of extracted signatures

  2. sim.matrix: full matrix between extracted signatures and reference signatures

  3. table: matrix include pairs of true positive reference signatures and true positive extracted signatures.

Value

Matrix of extracted sigs, yet the names of signatures changed. New name: <old_name> (<name_of_most_similar_ground_truth_signature> cosine_similarity) e.g., Sig.A –> Sig.A (SBS1 0.998)


WuyangFF95/SynSigEval documentation built on Sept. 18, 2022, 11:41 a.m.