Description Usage Arguments Details Value Examples
This function is a wrapper for the constructor of MbecData-objects from phyloseq objects and lists of counts and sample data.
1 2 | ## S4 method for signature 'phyloseq'
mbecProcessInput(input.obj, required.col = NULL)
|
input.obj |
One of MbecData, phyloseq or list(counts, meta-data). |
required.col |
Vector of column names that need to be present in the meta-data table. |
The (OPTIONAL) argument 'required.col' is a vector of column-names that will enable a sanity test for the presence in the meta-data table. Which is also the second use-case for objects that are already of class MbecData.
An object of type MbecData that has been validated.
1 2 3 4 | # This will check for the presence of variables 'group' and 'batch' in the
# meta-data and return an object of class 'MbecData'.
MbecData.obj <- mbecProcessInput(input.obj=dummy.mbec,
required.col=c("group","batch"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.