View source: R/set_treatment_levels.R
set_treatment_levels | R Documentation |
Reorders the levels of a metadata factor column in a
phyloseq-class
object
sample_data
.
set_treatment_levels(phyloseq_obj, treatment, order)
phyloseq_obj |
A |
treatment |
Column name as a |
order |
The order of factors in |
phyloseq-object
set_treatment_levels(soil_column, treatment = "Matrix",
order = c("Manure", "Soil", "Effluent"))
set_treatment_levels(soil_column, "Day", "numeric")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.