Estimate Cosine Similarity Matrix for Fluorochromes
Source:R/EstimateSimilarityMtx.R
EstimateSimilarityMtx.RdThis function computes the pairwise cosine similarity between fluorochrome spectral profiles based on a user-defined matrix of detector responses. It extracts a submatrix from the full spectral matrix using specified detectors and fluorochromes, and returns a symmetric similarity matrix where each entry represents the cosine similarity between two fluorochromes.