Update the name of a collection in the Microbiome Dataset.
Usage
updateCollectionName(object, oldName, newName)
# S4 method for MbioDataset
updateCollectionName(object, oldName, newName)
Arguments
- object
A Microbiome Dataset
- oldName
The name of the collection to update
- newName
The new name of the collection
Examples
myCopyOfDiabImmune <- microbiomeData::DiabImmune
myCopyOfDiabImmune <- updateCollectionName(
myCopyOfDiabImmune,
"16S (V4) Genus (Relative taxonomic abundance analysis)",
"16S Genus"
)