View source: R/almostAllAccessors.R
sample_variables | R Documentation |
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.
get_taxa
taxa_names
sample_names
data(enterotype) sample_variables(enterotype)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.