View source: R/mspPosNegSplitter.R
mspPosNegSplitter | R Documentation |
This function separates the positive and negative MSP blocks.
mspPosNegSplitter(path, MSPfile = "", number_processing_threads = 1)
path |
address of the .msp file. |
MSPfile |
name of the file with the .msp extension. |
number_processing_threads |
Number of processing threads for multi-threaded processing |
The .msp files are saved in the same location with '_Neg.msp' and '_Pos.msp' extensions.
temp_wd <- tempdir() # just a temporary folder
path_extdata <- system.file("extdata", package = "IDSL.FSA")
MSPfile <- "Kynurenine_Kynurenic_acid.msp"
file.copy(from = paste0(path_extdata, "/", MSPfile), to = temp_wd)
mspPosNegSplitter(temp_wd, MSPfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.