R/mass_dataset_class.R
check_mass_dataset_class.Rd
This function checks the validity of a mass_dataset object. It performs various checks on the object's slots to ensure they meet the required criteria.
check_mass_dataset_class(object)
Returns TRUE
if the object is valid, otherwise returns a character vector of error messages.
data("expression_data")
data("sample_info")
data("variable_info")
object <-
create_mass_dataset(expression_data = expression_data,
sample_info = sample_info,
variable_info = variable_info)
check_mass_dataset_class(object)
#> [1] TRUE