This function creates reference standard .msp files.
IDSL.CSA_referenceMSPgenerator(REF_peaklist, refTable, selectedIPApeaks_IDref, msLevel,
spectral_search_mode = "dda", spectral_search_mode_option = NA)A string of standard .msp file
A dataframe peaklist of co-detected peaks
reference CSA table
selectedIPApeaks_IDref
MS level = c(1, 2)
Type of analysis. spectral_search_mode = c("dda", "dia", "csa")
Secondary type of analysis. spectral_search_mode_option = c(NA, "rawddaspectra", "alignedtable")