This function updates the sample_info and sample_info_note slots of a mass_dataset object. It ensures that the columns in sample_info are consistent with the names in sample_info_note.

update_sample_info(object)

Arguments

object

A mass_dataset object whose sample_info and sample_info_note slots you want to update.

Value

A mass_dataset object with updated sample_info and sample_info_note slots.

Author

Xiaotao Shen shenxt1990@outlook.com

Examples

if (FALSE) { # \dontrun{
# Assuming `md` is a mass_dataset object
updated_md <- update_sample_info(md)
} # }