addReportFigure: addReportFigure

Description Usage Arguments Value Author(s) See Also

View source: R/Report-methods.R

Description

Generates HTML code for a figure in the specified report. A figure is a collection of images (plots), of which only one is visible at any given moment.

Usage

1
2
addReportFigure(report, description, repPlots, setting.names = list(),
  selected.image = as.integer(1))

Arguments

report

Report to write the text to.

description

Human-readable description of the figure. This must be a non-empty character vector. The elements of this vector are concatenated without a separator to form the full description.

repPlots

Object of type ReportPlot, or a list of such objects.

setting.names

List of plot file element descriptors. Every variable elements in the plot file names must be included in this list. Set this to empty list if no variable elements are present, that is, if the figure should present a single report plot.

selected.image

Index of plot to be initially selected in the figure.

Value

The modified report.

Author(s)

adapted by Fabian Mueller from RnBeads code by Yassen Assenov

See Also

addReportTables for adding a listing of tables; Report for other functions adding contents to an HTML report


demuellae/muReportR documentation built on Jan. 20, 2020, 5:12 a.m.