ExploreModelMatrix: Explore model matrix

Description Usage Arguments Value Author(s) Examples

View source: R/ExploreModelMatrix.R

Description

Given a sample data table and a design formula, explore the resulting design matrix graphically in an interactive application.

Usage

1
ExploreModelMatrix(sampleData = NULL, designFormula = NULL)

Arguments

sampleData

(optional) A data.frame or DataFrame with sample information. If set to NULL, the user can upload the sample information from a tab-separated text file inside the app, or choose among a collection of example designs provided in the app.

designFormula

(optional) A formula. All components of the terms must be present as columns in sampleData. If set to NULL, the design formula can be specified after launching the app.

Value

A Shiny app object

Author(s)

Charlotte Soneson, Federico Marini, Michael I Love, Florian Geier, Michael B Stadler

Examples

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)

ExploreModelMatrix documentation built on Nov. 8, 2020, 6:49 p.m.