Description Usage Arguments Author(s)
This function allows you plot relative abundance reads over time in a timeseries plot.
1 2 3 4 | timeseries(data, time, tax.aggregate = "Phylum", tax.add = NULL,
tax.class = NULL, tax.empty = "best", plot.x.label = "Time",
plot.y.label = "Abundance", plot.legend.title = "Sample",
plot.theme = "normal", plot.layout = "dygraph")
|
data |
(required) A phyloseq object. |
time |
(required) The name of the column containing the time variables, e.g. "Date". |
tax.aggregate |
The taxonomic level that the data should be aggregated to (default: "Phylum") |
tax.add |
Additional taxonomic levels to display for each entry, e.g. "Phylum" (default: "none"). |
tax.class |
Converts a specific phyla to class level instead, e.g. "p__Proteobacteria" (default: "none) . |
tax.empty |
Either "remove" OTUs without taxonomic information, add "best" classification or add the "OTU" name (default: "best"). |
plot.x.label |
Label on x-axis (default: "Time"). |
plot.y.label |
Label on y-axis (default: "Abundance"). |
plot.legend.title |
Label on ggplot legend. (default: "Sample"). |
plot.theme |
Chose different standard layouts choose from "normal" or "clean" (default: "normal"). |
plot.layout |
Either "ggplot" or "dygraph" (default: "dygraph"). |
group |
A variable from the associated sample data to group samples by (default: "Samples"). |
Julie Klessner Thun Pedersen julieklessnerthun@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.