Creates a 2D dataset from existing objects.
create_2d_dataset(list_2d, type = "undefined", metadata = NULL, description = "",
sample.names = NULL, F1 = NULL, F2 = NULL, label.x = NULL,
label.y = NULL, label.values = NULL)
A list of matrices where each matrix represents a 2D spectra from one sample.
Type of data: string that can be one of the following:
2d-nmr
Data frame with the dataset's metadata: columns represent each metadata variable and rows represent the value of the metadata for the sample.
String with a short description of the dataset.
Vector with sample names, if NULL then the names of the 2D list or sequential numbers will be used.
Vector of the indirect dimension' ppm values.
Vector of the diret dimension' ppm values.
Label for the x axis.
Label for the y axis.
Label for the variable represented by a pair (x,y).
List representing the 2D dataset:
A list of matrices where each matrix matches one 2D spectra.
The type of the data in the dataset.
A short text describing the dataset.
A dataframe with the metadata variables.
The ppm values regarding indirect dimension.
The ppm values regarding direct dimension.
A list of labels for the x, y and pairs'(x,y) values.