This function removes similar MSP blocks. This function aggregates MSP blocks based on the `Name` values.
FSA_uniqueMSPblockTagger(path, MSPfile = "", aggregateBy = "Name",
massError = 0.01, RTtolerance = NA, minEntropySimilarity = 0.75,
noiseRemovalRatio = 0.01, allowedNominalMass = FALSE,
allowedWeightedSpectralEntropy = TRUE, plotSpectra = FALSE,
number_processing_threads = 1)a list of similar MSP blocks is returned at the end and a subsetted .msp and FSDB files are saved in the `path` directory.
Address of .msp file or an FSDB
name of .msp file
a variable to aggregate the MSP blocks based on
Mass accuracy in Da
Retention time tolerance (min) to match msp blocks. Select NA to ignore retention time match.
Minimum entropy similarity score
noise removal ratio relative to the basepeak to measure entropy similarity score (in percent)
c(TRUE, FALSE). Select `TRUE` only for nominal mass analysis.
c(TRUE, FALSE). Weighted entropy to measure entropy similarity score.
c(TRUE, FALSE)
Number of processing threads for multi-threaded processing