nmr_data: Set/Return the full spectra matrix

Description Usage Arguments Value See Also Examples

View source: R/nmr_data.R

Description

Set/Return the full spectra matrix

Usage

1
2
3
4
5
6
nmr_data(nmr_dataset, ...)

nmr_data(nmr_dataset) <- value

## S3 replacement method for class 'nmr_dataset_1D'
nmr_data(nmr_dataset) <- value

Arguments

nmr_dataset

An object from the nmr_dataset_family to get the raw data from

...

Unused and left for future compatibility

value

A matrix

Value

a matrix

The given nmr_dataset

See Also

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

Examples

1
2
3
4
dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
dataset_1D <- nmr_interpolate_1D(dataset, axis = c(min = -0.5, max = 10, by = 2.3E-4))
dataset_data <- nmr_data(dataset_1D)

AlpsNMR documentation built on April 1, 2021, 6:02 p.m.