OTU_time_series-class | R Documentation |
This class provides a way to integrate measurements of time to OTU tables, useful for time series analysis
OTU_time_series(table, time_points) ## S4 method for signature 'data.frame,numeric' OTU_time_series(table, time_points) ## S4 method for signature 'phyloseq,numeric' OTU_time_series(table, time_points) ## S4 method for signature 'otu_table,numeric' OTU_time_series(table, time_points) ## S4 method for signature 'phyloseq,character' OTU_time_series(table, time_points)
table |
A refined table returned form |
time_points |
A numeric vector of the start point. If an experiment level |
If you provide an experiment level phyloseq
object, you might want to split it into groups before
using the constructor function.
table
Data frame, the refined OTU table representing the community
time_points
Numeric, the time from the start of the experiment or any other arbitrary time reference
library(micInt) library(phyloseq) data("seawater") subsetted_seawater <- subset_samples(seawater, Reactor == 2) OTU_time_series(subsetted_seawater,"Week")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.