uniteSampleColumn: unite a Column in Phyloseq Sample Data

View source: R/uniteSampleColumn.R

uniteSampleColumnR Documentation

unite a Column in Phyloseq Sample Data

Description

unite a Column in Phyloseq Sample Data

Usage

uniteSampleColumn(x, ...)

Arguments

x

phyloseq object

...

Option to pass on to unite.

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.

Value

Phyloseq with modified sample_data

Author(s)

Sudarshan A. Shetty

References

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

Examples

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


RIVM-IIV-Microbiome/biomeUtils documentation built on July 20, 2023, 10:29 a.m.