A shiny module which plots the variance of samples

omXplore_variance_ui(id)

omXplore_variance_server(id, dataIn, i, pal.name = NULL)

CVDist(dataIn, conds, pal.name = NULL)

omXplore_variance(dataIn, i)

Arguments

id

A character(1) which is the id of the shiny module.

dataIn

An matrix

i

An integer which is the index of the assay in the param obj

pal.name

A character(1) which is the name of the palette from the package RColorBrewer from which the colors are taken. Default value is 'Set1'.

conds

A vector indicating the name of each sample.

Value

NA

NA

A plot

A shiny app

Examples

if (interactive()) {
  data(vdata)
  shiny::runApp(omXplore_variance(vdata, 1))
}