View source: R/nmr_dataset_1D.R
nmr_data_1r_to_SummarizedExperiment | R Documentation |
Export 1D NMR data to SummarizedExperiment
nmr_data_1r_to_SummarizedExperiment(nmr_dataset)
nmr_dataset |
An nmr_dataset_1D object |
SummarizedExperiment An SummarizedExperiment object (unmodified)
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))
se <- nmr_data_1r_to_SummarizedExperiment(dataset_1D)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.