Displays a correlation matrix of the quantitative data of a numeric matrix.

omXplore_density_ui(id)

omXplore_density_server(
  id,
  obj = reactive({
     NULL
 }),
  i = reactive({
     NULL
 }),
  pal.name = reactive({
     NULL
 })
)

densityPlot(data, conds = NULL, pal.name = NULL)

omXplore_density(obj, i)

Arguments

id

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

obj

An instance of the class SummarizedExperiment

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'.

data

A data.frame() of quantitative data

conds

A vector indicating the name of each sample.

Value

NA

NA

A plot

A shiny app

Examples

if (FALSE) { # \dontrun{
  data(vdata)
  shiny::runApp(omXplore_density(vdata, 1))
} # }


if (FALSE) { # \dontrun{
data(vdata)
qdata <- SummarizedExperiment::assay(vdata[[1]])
conds <- get_group(vdata)
densityPlot(qdata, conds)
} # }