doProcessing {Rnmr1D}R Documentation

doProcessing

Description

doProcessing is the main function of this package. Indeed, this function performs the complete processing of a set of 1D NMR spectra from the FID (raw data) and based on a processing sequence (macro-command file). An additional file specifies all the spectra to be considered by associating their sample code as well as the levels of experimental factors to which they belong. In this way it is possible to select only a subset of spectra instead of the whole set.

Usage

doProcessing(
  path,
  cmdfile,
  samplefile = NULL,
  bucketfile = NULL,
  phcfile = NULL,
  ncpu = 1
)

Arguments

path

The full path of either the raw spectra directory on the disk

cmdfile

The full path name of the Macro-commands file for processing (text format)

samplefile

The full path name of the Sample file (tabular format)

bucketfile

The full path name of the file of bucket's zones (tabular format)

phcfile

The full path name of the phasing file for samples if required (tabular format)

ncpu

The number of cores [default: 1]

Value

doProcessing returns a list containing the following components:

See Also

the NMRProcFlow online documentation https://nmrprocflow.org/ and especially the Macro-command Reference Guide (https://nmrprocflow.org/themes/pdf/Macrocommand.pdf)

Examples

 
    data_dir <- system.file("extra", package = "Rnmr1D")
    cmdfile <- file.path(data_dir, "NP_macro_cmd.txt")
    samplefile <- file.path(data_dir, "Samples.txt")
    out <- Rnmr1D::doProcessing(data_dir, cmdfile=cmdfile, 
                                samplefile=samplefile, ncpu=2)


[Package Rnmr1D version 1.3.2 Index]