View source: R/almostAllAccessors.R
get_variable | R Documentation |
This is a simple accessor function for streamlining access to values/vectors/factors/etc contained in the sample_data.
get_variable(physeq, varName)
physeq |
(Required). |
varName |
(Required). Character string of the variable name in |
Data. The clas of the data depends on what the contents of sample_data.
get_taxa
taxa_names
sample_names
sample_variables
# Load the GlobalPatterns dataset into the workspace environment data(GlobalPatterns) # Look at the different values for SampleType get_variable(GlobalPatterns, "SampleType")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.