
Last chance! 50% off unlimited learning
Sale ends in
Get the number of samples from a dataset.
num_samples(dataset)
list representing the dataset from a metabolomics experiment.
Returns an integer with the number of samples in the dataset.
# NOT RUN {
## Example of getting the number of samples
library(specmine.datasets)
data(cachexia)
number.of.samples = num_samples(cachexia)
# }
Run the code above in your browser using DataLab