Description Usage Arguments Value Examples
Takes data.frame from mbecBox and produces a ggplot2 object.
1 | mbecBoxPlot(tmp, otu.idx, model.var)
|
tmp |
Count of selected features. |
otu.idx |
Index of selected Otus in the data. |
model.var |
Which covariate to group Otus by. |
ggplot2 object
1 2 3 4 5 | # This will return a list of the five most variable features grouped by the
# covariate 'batch'.
box.df <- mbecBox(input.obj=dummy.mbec, method='TOP', n=5,
model.var='batch', type="otu", return.data=TRUE)
plot.box <- mbecBoxPlot(box.df[[1]], box.df[[2]], 'batch')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.