markdownPlots: Multiple Markdown plots

Description Usage Arguments Value Note See Also Examples

View source: R/markdownPlots.R

Description

Supports using a named list containing multiple ggplot objects, which can be used in an R Markdown report, separated by headers. Internally, the headers are generated with the markdownHeader function.

Usage

1
markdownPlots(list, headerLevel = 2L)

Arguments

list

list. Named list containing ggplot objects.

headerLevel

integer(1) (1-7). Markdown header level.

Value

Graphical output of plots. Separated by Markdown headers.

Note

Updated 2019-07-28.

See Also

cowplot::plot_grid().

Examples

1
2
3
loadRemoteData(url = file.path(basejumpTestsURL, "plotlist.rds"))
names(plotlist)
markdownPlots(list = plotlist)

acidgenomics/basejump documentation built on Nov. 21, 2019, 1:36 a.m.