Get the values for a particular variable in sample_data
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.
# Load the GlobalPatterns dataset into the workspace environment data(GlobalPatterns) # Look at the different values for SampleType get_variable(GlobalPatterns, "SampleType")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.