Description Usage Arguments Examples
This function reads your data file, formats sample ID's and taxa names, and converts absolute abundances to relative abundances. The otu table must contain "otu" in the file name with sample ID's as column names and taxa as row names.#'the metadata file must have "meta" in the file name and contain matching sample ID's to the otu table in the first column. To format date, there must be a column named "date" in the metadata file.
1 2 | import_otu_table(normalize = TRUE, add_metadata = TRUE,
format_date = TRUE)
|
normalize |
argument to normalize data to relative abundance, defaults to TRUE |
add_metadata |
argument to normalize data to relative abundance, defaults to TRUE |
format_date |
argument to normalize data to relative abundance, defaults to TRUE |
1 2 | import_otu_table(normalize=TRUE, add_metadata=TRUE, format_date=TRUE) #returns dataframe of normalized otu table with added metadata
import_otu_table(normalize=FALSE) #returns otu table with absolute abundances
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.