Description Usage Arguments Details Value Examples
Takes in samples in vector or matrix format and merges them to a microbiome phyloseq class object.
1 | asPhyloseq(S, ...)
|
S |
Each parameter given to the function is a sample vector or matrix to be merged into one phyloseq object of samples. The vectors/matrices must all contain the same number of species in order to be merged. A phyloseq object requires at least a matrix of min. 2 columns, therefore an error is thrown if only a vector is given without additional vector/matrix objects. |
... |
vector(s)/matrice(s): see description of S |
Requires phyloseq package (Bioconductor). Function will install package when not installed yet.
A microbiome phyloseq class object with species/OTUs as rows and samples as columns.
1 2 3 4 5 6 7 | ## Not run:
A = powerlawA(n = 80, alpha = 1.6),
glv_timeseries <- glv(N = 80, A = A, tend = 100)
soi_sample <- rmse_sample(soi(N = 80, I = 1000, A = A, tend = 1000))
physeq <- asPhyloseq(glv_timeseries, soi_sample)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.