Description Usage Arguments Value Examples
Takes data.frame from 'mbecHeat()' and produces a ggplot2 object.
1 | mbecHeatPlot(center, scale, tmp.cnts, tmp.meta, model.vars)
|
center |
Boolean flag to indicate whether data is centered or not. |
scale |
Boolean flag to indicate whether data is scaled or not. |
tmp.cnts |
Count values of selected features. |
tmp.meta |
Covariate information for potting. |
model.vars |
Two covariates of interest to select by first variable selects panels and second one determines coloring. |
ggplot2 object
1 2 3 4 5 6 | # This will return a paneled plot that shows results for the variance
# assessment.
heat.df <- mbecHeat(input.obj=dummy.mbec, model.vars=c('group','batch'),
center=TRUE, scale=TRUE, method='TOP', n=5, return.data=TRUE)
plot.heat <- mbecHeatPlot(center=TRUE, scale=TRUE, tmp.cnts=heat.df[[1]],
tmp.meta=heat.df[[2]], model.vars=c('group','batch'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.