This function creates standard .msp files that can also be used for Pepsearch.
IDSL.CSA_MSPgenerator(CSA_peaklist, msLevel, spectral_search_mode = "dda",
spectral_search_mode_option = NA, number_processing_threads = 1)A string of standard .msp file
A dataframe peaklist of co-detected peaks
Type of analysis. spectral_search_mode = c("dda", "dia", "csa")
MS level = c(1, 2)
Secondary type of analysis. spectral_search_mode_option = c(NA, "rawddaspectra", "alignedtable")
Number of processing threads for multi-threaded processing