save_files_to_rDolphin {AlpsNMR} | R Documentation

## Save files to rDoplhin

### Description

The function saves the CSV files required by to_rDolphin and Automatic_targeted_profiling functions for metabolite profiling.

### Usage

    save_files_to_rDolphin(files_rDolphin, output_directory)

### Arguments

`files_rDolphin` | a list containing 4 elements from `files_to_rDolphin` `meta_rDolphin`: metadata in rDolphin format, `NMR_spectra`: spectra matrix `ROI`: ROI template `Parameters_blood`: parameters file
`output_directory` | a directory in which the CSV files are saved

### Value

CSV files containing:

### See Also

Other import/export functions: `Pipelines`, `files_to_rDolphin()`, `load_and_save_functions`, `nmr_data()`, `nmr_meta_export()`, `nmr_read_bruker_fid()`, `nmr_read_samples()`, `nmr_zip_bruker_samples()`, `save_profiling_output()`, `to_ChemoSpec()`

Other nmr_dataset_1D functions: `[.nmr_dataset_1D()`, `computes_peak_width_ppm()`, `file_lister()`, `files_to_rDolphin()`, `format.nmr_dataset_1D()`, `is.nmr_dataset_1D()`, `load_and_save_functions`, `new_nmr_dataset_1D()`, `nmr_align_find_ref()`, `nmr_baseline_removal()`, `nmr_baseline_threshold()`, `nmr_exclude_region()`, `nmr_integrate_regions()`, `nmr_interpolate_1D()`, `nmr_meta_add()`, `nmr_meta_export()`, `nmr_meta_get_column()`, `nmr_meta_get()`, `nmr_normalize()`, `nmr_pca_build_model()`, `nmr_pca_outliers_filter()`, `nmr_pca_outliers_plot()`, `nmr_pca_outliers_robust()`, `nmr_pca_outliers()`, `nmr_ppm_resolution()`, `plot.nmr_dataset_1D()`, `plot_webgl()`, `print.nmr_dataset_1D()`, `rdCV_PLS_RF_ML()`, `rdCV_PLS_RF()`, `to_ChemoSpec()`, `validate_nmr_dataset_peak_table()`, `validate_nmr_dataset()`

Other to_rDolphin_blood functions: `save_profiling_output()`

### Examples

    ## Not run:
    dataset <- system.file("dataset-demo", package = "AlpsNMR")
    excel_file <- system.file("dataset-demo", "dummy_metadata.xlsx", package = "AlpsNMR")
    nmr_dataset <- nmr_read_samples_dir(dataset)
    files_rDolphin = files_to_rDolphin_blood(nmr_dataset)
    output_directory = "."
    save_files_to_rDolphin(files_rDolphin, output_directory)

    ## End(Not run)

[Package AlpsNMR version 3.2.3 Index]