file_lister | R Documentation |
The function lists samples from the chosen folder required to import and
create a nmr_dataset_1D object. The function is based on the fs::dir_ls()
function.
file_lister(dataset_path_nmr, glob)
dataset_path_nmr |
A character vector of the path where samples are. |
glob |
A wildcard or globbing pattern common for the samples to be read,
for example ending with *0 (spectra acquired by a NOESY sequence often end
by 0: 10, 20, 30...) or *s (for example, samples from the tutorial in this
package) passed on to |
lists of samples from the chosen folder
dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
lists_of_samples <- file_lister(dir_to_demo_dataset, "*0")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.