unite a Column in Phyloseq Sample Data

uniteSampleColumn(x, ...)

Arguments

x

phyloseq object

...

Option to pass on to unite.

Value

Phyloseq with modified sample_data

Details

In some cases user may want to unite a sample column in phyloseq object. To ease this step, we make use of the unite. The separation can be done with regular expression or numeric locations.

References

Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils

Author

Sudarshan A. Shetty

Examples

library(biomeUtils)
library(dplyr)
data(FuentesIliGutData)
FuentesIliGutData <- uniteSampleColumn(FuentesIliGutData,
                                       "united.column", sex:age,
                                       remove = FALSE)