Get the sample variables present in sample_data
This is a simple accessor function to make it more convenient to determine
the sample variable names of a particular phyloseq-class
object.
sample_variables(physeq, errorIfNULL=TRUE)
physeq |
(Required). |
errorIfNULL |
(Optional). Logical. Should the accessor stop with
an error if the slot is empty ( |
Character vector. The names of the variables in the sample_data data.frame. Essentially the column names. Useful for selecting model and graphics parameters that interact with sample_data.
data(enterotype) sample_variables(enterotype)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.