Description Usage Arguments Value Author(s) Examples
View source: R/ExploreModelMatrix.R
Given a sample data table and a design formula, explore the resulting design matrix graphically in an interactive application.
1 | ExploreModelMatrix(sampleData = NULL, designFormula = NULL)
|
sampleData |
(optional) A |
designFormula |
(optional) A |
A Shiny app object
Charlotte Soneson, Federico Marini, Michael I Love, Florian Geier, Michael B Stadler
1 2 3 4 5 6 | app <- ExploreModelMatrix(
sampleData = data.frame(genotype = rep(c("A", "B"), each = 4),
treatment = rep(c("treated", "untreated"), 4)),
designFormula = ~genotype + treatment
)
if (interactive()) shiny::runApp(app)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.