plot.nmr_dataset_1D {AlpsNMR} | R Documentation

## Plot an nmr_dataset_1D

### Description

Plot an nmr_dataset_1D

### Usage

    ## S3 method for class 'nmr_dataset_1D'
    plot(
      x,
      NMRExperiment = NULL,
      chemshift_range = NULL,
      interactive = FALSE,
      quantile_plot = NULL,
      quantile_colors = NULL,
      ...
    )

### Arguments

`x` | a nmr_dataset_1D object
`NMRExperiment` | A character vector with the NMRExperiments to include. Use "all" to include all experiments.
`chemshift_range` | range of the chemical shifts to be included. Can be of length 3 to include the resolution in the third element (e.g. `c(0.2, 0.8, 0.005)`)
`interactive` | if `TRUE` return an interactive plotly plot, otherwise return a ggplot one.
`quantile_plot` | If `TRUE` plot the 10\ If two numbers between 0 and 1 are given then a custom percentile can be plotted
`quantile_colors` | A vector with the colors for each of the quantiles
`...` | arguments passed to ggplot2::aes_string.

### Value

The plot

### See Also

Other plotting functions: `plot_interactive()`

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_webgl()`, `print.nmr_dataset_1D()`, `rdCV_PLS_RF_ML()`, `rdCV_PLS_RF()`, `save_files_to_rDolphin()`, `to_ChemoSpec()`, `validate_nmr_dataset_peak_table()`, `validate_nmr_dataset()`

### Examples

    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))
    #plot(dataset_1D)

[Package AlpsNMR version 3.0.6 Index]