Querries reference signatures and returns most similar fluorophores by cosine similarity.
Source:R/QC_WhatsThis.R
QC_WhatsThis.Rd
Querries reference signatures and returns most similar fluorophores by cosine similarity.
Examples
library(dplyr)
Folder_Location <- system.file("extdata", package = "Luciernaga")
XML_Pattern <- ".XML$"
XML_Files <- list.files(path = Folder_Location, pattern = XML_Pattern,
full.names = TRUE, recursive = FALSE)
LibraryData <- QC_LibraryParse(XML_Files[2], returntype="dataframe", references=FALSE)
Data <- LibraryData %>% select(-Sample, -Creator, -Date) %>%
rename(Sample=Fluorochrome)
TheFluorophore <- Data %>% pull(Sample)
Results <- QC_WhatsThis(x=TheFluorophore, data=Data, NumberHits = 10, returnPlots=FALSE)
#> Normalizing Data for Signature Comparison