Learn R Programming

IDSL.FSA (version 1.2)

xlsx2msp: xlsx to MSP

Description

This function creates .msp files from an organized spreadsheet of fragmentation data.

Usage

xlsx2msp(path, xlsxFileName = "", number_processing_threads = 1)

Value

The .msp files are saved in the same location.

Arguments

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

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab