check_mass_dataset_class: Check the Validity of a mass_dataset Object

View source: R/mass_dataset_class.R

check_mass_dataset_classR Documentation

Check the Validity of a mass_dataset Object

Description

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.

Usage

check_mass_dataset_class(object)

Arguments

object

An object of class mass_dataset.

Value

Returns TRUE if the object is valid, otherwise returns a character vector of error messages.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

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)

tidymass/massdataset documentation built on Oct. 12, 2023, 12:26 p.m.