plotdownload: The server function of the gene set module

View source: R/plotdownload.R

plotdownloadR Documentation

The server function of the gene set module

Description

The plotdownload module provides export functionality for panels with plots. This will generally not be called directly, but by other modules

Usage

plotdownload(
  input,
  output,
  session,
  makePlot,
  filename = "plot.png",
  plotHeight,
  plotWidth
)

Arguments

input

Input object

output

Output object

session

Session object

makePlot

A reactive for generating the plot

filename

A filename (default = 'plot.png')

plotHeight

A number or reactive for calculating the height of the plot

plotWidth

A number or reactive for calculating the width of the plot

Examples

callModule(plotdownload, "heatmap", makePlot = plotHeatmap, filename = "heatmap.png", plotHeight = plotHeight, plotWidth = plotWidth)


pinin4fjords/shinyngs documentation built on June 29, 2024, 8:55 a.m.