This function performs various checks on the mass dataset to ensure its integrity and consistency. It checks the format and content of expression_data, sample_info, variable_info, sample_info_note, and variable_info_note.

check_mass_dataset(
  expression_data,
  sample_info,
  variable_info,
  sample_info_note,
  variable_info_note
)

Arguments

expression_data

A data frame containing expression data.

sample_info

A data frame containing sample information.

variable_info

A data frame containing variable information.

sample_info_note

A data frame containing notes for sample information.

variable_info_note

A data frame containing notes for variable information.

Value

A string indicating the result of the checks. It returns "all good." if all checks pass, otherwise it returns an error message.

Details

The function performs a series of checks to validate the integrity and consistency of the mass dataset. It checks for missing data, data types, and the relationship between different components of the dataset.

Author

Xiaotao Shen shenxt1990@outlook.com

Examples

data("expression_data")
data("sample_info")
data("variable_info")
  check_mass_dataset(
    expression_data = expression_data,
    sample_info = sample_info,
    variable_info = variable_info,
  )
#> [1] "all good."