A shiny module which plots the variance of samples

omXplore_variance_ui(id)

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

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

omXplore_variance(obj, i)

Arguments

id

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

obj

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)
  omXplore_variance(vdata, 1)
}