Produce an interactive Shiny report showing diagnostic plots of transformed counts.

shiny_report(y = NULL, counts = NULL, sample_labels = NULL,
  feature_labels = NULL, prefix = "")

Arguments

y

A matrix of exprssion levels, such as a transformed counts matrix.

counts

Original counts.

sample_labels

Optional. Sample names.

feature_labels

Optional. Feature names.

prefix

Optional, to facilitate use as a component of a larger Shiny app. Inputs and outputs are given this prefix.

Value

A shiny.appobj.

Either y or counts or both must be given.

Used interactively, the shiny report runs immediately. Otherwise it can be launched by print()-ing it. A call to this function can also be the last line in an app.R file in a Shiny app directory.

Examples

# Generate some random data. means <- runif(100,min=0,max=1000) counts <- matrix(rnbinom(1000, size=1/0.01, mu=rep(means,10)), ncol=10) y <- varistran::vst(counts)
#> Dispersion estimated as 0.01584844
if (interactive()) varistran::shiny_report(y, counts)