Metadata Management
Metadata provides crucial sample information for microbiome analysis. Effective metadata management enables robust comparative analysis.
Metadata Management
Metadata provides key sample information for integrated microbiome analysis. MicrobiomeStat offers functions to update and synchronize metadata.
Update Metadata
The mStat_update_meta_data()
function updates metadata from a file or dataframe:
It can handle CSVs, TSVs, etc.
Steps include:
Load metadata file or dataframe
Replace existing
meta.dat
Subset feature table by intersecting samples
Return updated data object
This allows incorporating new metadata to enable more powerful integrated analyses.
Update Sample Names
The mStat_update_sample_name()
function updates sample names across data components:
It synchronizes sample names in meta.dat
, feature.tab
, and feature.agg.list
.
Key steps:
Check new names are valid
Update
meta.dat
rownamesUpdate
feature.agg.list
colnamesUpdate
feature.tab
colnames
This maintains data consistency when updating sample identifiers.
Proper metadata management ensures high-quality integrated analyses. MicrobiomeStat empowers seamless metadata updates to enable robust microbiome discoveries.
Last updated