MatchSigs1Direction: Find the closest match in 'other.sigs' for each signature in...

Description Usage Arguments Value

View source: R/match.sigs.R

Description

Find the closest match in other.sigs for each signature in query.sigs

Usage

1
MatchSigs1Direction(query.sigs, other.sigs)

Arguments

query.sigs

A signature matrix; signatures for which to find the closest match in other.sigs. The colnames are used as the identifiers of the signatures.

other.sigs

A signature matrix; find the closest matches to a signature in this matrix. The colnames are used as the identifiers of the signatures.

Value

A list with one element for each signature in query.sigs. The names of the list elements are the colnames of query.sigs. Each list element is a vector of length 1, and the name of the vector element is the name of the closest matching signature in other.sigs, and the value is the cosine similarity between the given signature in query.sigs and the matching signature in other.sigs.


steverozen/ICAMSxtra documentation built on Feb. 9, 2022, 7:01 a.m.