R/cosine_similarity.R
cosine.similarity.Rd
Calculates the cosine similarity between columns of the input matrix (spectra).
cosine.similarity(spectra)
The spectral matrix (or dataframe), represented as fluorophores in rows and detectors in columns.
The cosine similarity matrix in fluorophores x fluorophores.