xlsx2msp | R Documentation |
This function creates .msp files from an organized spreadsheet of fragmentation data.
xlsx2msp(path, xlsxFileName = "", number_processing_threads = 1)
path |
address of the spreadsheet |
xlsxFileName |
name of the file with the .xlsx extension. |
number_processing_threads |
Number of processing threads for multi-threaded processing |
The .msp files are saved in the same location.
The spreadsheet should have only one column for the following headers (case-sensitive): c('ID', 'mz_fragment', 'int_fragment', 'Name')
temp_wd <- tempdir() # just a temporary folder
path_extdata <- system.file("extdata", package = "IDSL.FSA")
xlsxFileName <- "PFAS_MSe.xlsx"
file.copy(from = paste0(path_extdata, "/", xlsxFileName), to = temp_wd)
xlsx2msp(temp_wd, xlsxFileName)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.