update_sample_info: Update Sample Information in a mass_dataset Object

View source: R/update_mass_dataset.R

update_sample_infoR Documentation

Update Sample Information in a mass_dataset Object

Description

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.

Usage

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(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

## Not run: 
# Assuming `md` is a mass_dataset object
updated_md <- update_sample_info(md)

## End(Not run)


tidymass/massdataset documentation built on Jan. 30, 2024, 2:55 p.m.