cosine: Cosine distance

View source: R/compute_similarity.R

cosineR Documentation

Cosine distance

Description

Cosine distance

Usage

cosine(vec1, vec2)

Arguments

vec1

test vector

vec2

reference vector

Value

numeric value of cosine distance between the vectors


rnabioco/clustifyr documentation built on Sept. 2, 2024, 11:12 p.m.