Description Usage Arguments Value See Also Examples
These functions load samples from files and return a nmr_dataset.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | nmr_read_samples_dir(
samples_dir,
format = "bruker",
pulse_sequence = NULL,
metadata_only = FALSE,
...
)
nmr_read_samples(
sample_names,
format = "bruker",
pulse_sequence = NULL,
metadata_only = FALSE,
...
)
|
samples_dir |
A directory that contains multiple samples |
format |
Either "bruker" or "jdx" |
pulse_sequence |
If it is set to a pulse sequence ("NOESY", "JRES", "CPMG"...) it will only load the samples that match that pulse sequence. |
metadata_only |
A logical, to load only metadata (default: |
... |
Arguments passed to |
sample_names |
A character vector with file or directory names. |
a nmr_dataset object
Other nmr_dataset functions:
[.nmr_dataset()
,
format.nmr_dataset()
,
load_and_save_functions
,
new_nmr_dataset()
,
nmr_interpolate_1D()
,
nmr_meta_add()
,
nmr_meta_export()
,
nmr_meta_get_column()
,
nmr_meta_get()
,
nmr_ppm_resolution()
,
print.nmr_dataset()
,
validate_nmr_dataset()
Other import/export functions:
Pipelines
,
files_to_rDolphin()
,
load_and_save_functions
,
nmr_data()
,
nmr_meta_export()
,
nmr_read_bruker_fid()
,
nmr_zip_bruker_samples()
,
save_files_to_rDolphin()
,
save_profiling_output()
,
to_ChemoSpec()
1 2 3 4 5 6 | dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
zip_files <- fs::dir_ls(dir_to_demo_dataset, glob = "*.zip")
dataset <- nmr_read_samples(sample_names = zip_files)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.