geneBarplot: Main function for drawing the bar plot with plotly

View source: R/gene.R

geneBarplotR Documentation

Main function for drawing the bar plot with plotly

Description

The gene module picks specified rows out the assay data, either simply by id or label. This is used to create a gene-centric info page.

Usage

geneBarplot(
  expression,
  experiment,
  colorby,
  expressionmeasure = "Expression",
  palette = NULL
)

Arguments

expression

Matrix of values

experiment

Data frame containing metadata to use for coloring etc

colorby

Column name in experiment specifying how points should be colored

expressionmeasure

String to use for labelling y axis in plots

palette

Palette of colors, one for each unique value derived from colorby.

Details

This function does the actual plotting with plotly. It will produce a plot for every row of the input matrix.

Examples

callModule(gene, "gene", ses)


pinin4fjords/shinyngs documentation built on Feb. 28, 2024, 10:19 a.m.