Description Usage Arguments Value
View source: R/sample_data_functions.r
This function extracts specified columns from the sample data slot of a phyloseq object. It also replaces underscores in those column headers with dots, as underscores are later used for string splitting.
1 | extract_response_variable(response_variables, phyloseq_object)
|
response_variables |
a vector of sample data variable names |
phyloseq_object |
the according 'sample_data()' will be looked up to receive the response columns |
A data frame consisting of the specified columns from 'sample_data()'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.