Learn R Programming

specmine (version 3.1.6)

get_sample_2d_data: Get data

Description

Get the data matrix of a specific sample from a 2D dataset.

Usage

get_sample_2d_data(dataset_2d, sample)

Arguments

dataset_2d

List representing the 2D dataset from a 2D metabolomics experiment.

sample

A string or integer, representing a sample from a 2D metabolomics experiment.

Value

Returns the sample's data matrix.