View source: R/uniteSampleColumn.R
uniteSampleColumn | R Documentation |
unite a Column in Phyloseq Sample Data
uniteSampleColumn(x, ...)
x |
|
... |
Option to pass on to |
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.
Phyloseq with modified sample_data
Sudarshan A. Shetty
Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils
library(biomeUtils)
library(dplyr)
data(FuentesIliGutData)
FuentesIliGutData <- uniteSampleColumn(FuentesIliGutData,
"united.column", sex:age,
remove = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.