The mass_dataset class is designed to hold various types of data related to mass spectrometry experiments, including expression data, MS2 data, annotation tables, and other related information.

Slots

expression_data

A data.frame containing the expression data.

ms2_data

A list containing MS2 data.

annotation_table

A data.frame containing annotation information.

sample_info

A data.frame containing sample information.

variable_info

A data.frame containing variable information.

sample_info_note

A data.frame containing notes about the sample information.

variable_info_note

A data.frame containing notes about the variable information.

process_info

A list containing information about the data processing steps.

other_files

A list containing other related files.

version

A character string indicating the version of the dataset.

activated

A character string indicating which slot is currently activated for manipulation.

Examples

if (FALSE) { # \dontrun{
# Create a new mass_dataset object
new_data <- new("mass_dataset", 
                expression_data = data.frame(),
                ms2_data = list(),
                annotation_table = data.frame(),
                sample_info = data.frame(),
                variable_info = data.frame(),
                sample_info_note = data.frame(),
                variable_info_note = data.frame(),
                process_info = list(),
                other_files = list(),
                version = "1.0",
                activated = "expression_data")
} # }