Learn R Programming

specmine (version 3.1.6)

stats_by_sample: Statistics of samples

Description

Get a summary of statistics of the samples.

Usage

stats_by_sample(dataset, samples = NULL)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

samples

if defined restricts the application to a given set of samples.

Value

Returns a vector with the a summary of statistics of the samples.

Examples

Run this code
# NOT RUN {
     ## Example of getting stats of samples
	 library(specmine.datasets)
     data(cachexia)
     samples.stats.result = stats_by_sample(cachexia)
# }

Run the code above in your browser using DataLab