nmr_pca_outliers_filter | R Documentation |
Exclude outliers
nmr_pca_outliers_filter(nmr_dataset, pca_outliers)
nmr_dataset |
An nmr_dataset_1D object |
pca_outliers |
The output from |
An nmr_dataset_1D without the detected outliers
Other PCA related functions:
nmr_pca_build_model()
,
nmr_pca_outliers()
,
nmr_pca_outliers_plot()
,
nmr_pca_outliers_robust()
,
nmr_pca_plots
Other outlier detection functions:
Pipelines
,
nmr_pca_outliers()
,
nmr_pca_outliers_plot()
,
nmr_pca_outliers_robust()
Other subsetting functions:
[.nmr_dataset()
,
[.nmr_dataset_1D()
,
[.nmr_dataset_peak_table()
,
filter.nmr_dataset_family()
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))
model <- nmr_pca_build_model(dataset_1D)
outliers_info <- nmr_pca_outliers(dataset_1D, model)
dataset_whitout_outliers <- nmr_pca_outliers_filter(dataset_1D, outliers_info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.