[.nmr_dataset | R Documentation |
Extract parts of an nmr_dataset
## S3 method for class 'nmr_dataset'
x[i]
x |
an nmr_dataset object |
i |
indices of the samples to keep |
an nmr_dataset with the extracted samples
Other subsetting functions:
[.nmr_dataset_1D()
,
[.nmr_dataset_peak_table()
,
filter.nmr_dataset_family()
,
nmr_pca_outliers_filter()
dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
dataset2 <- dataset[1:3] # get the first 3 samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.