Description Usage Arguments Value Examples
Get the number of samples from a dataset.
1 | num_samples(dataset)
|
dataset |
list representing the dataset from a metabolomics experiment. |
Returns an integer with the number of samples in the dataset.
1 2 3 4 | ## Example of getting the number of samples
library(specmine.datasets)
data(cachexia)
number.of.samples = num_samples(cachexia)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.