Skip to contents

Return a qeviz plot as an HTML string

Usage

qe_html(x, title = NULL, graph_opts = list(), ...)

Arguments

x

A qe_plot object, a raw rENA / tma / ona set, or a ModelData list from qe_model_data() / qe_extract().

title

<title> text. Defaults to the title stored in the qe_plot object when one is supplied.

graph_opts

Named list of <qe-graph> attribute overrides. When x is a qe_plot object the stored opts are used as the base; keys supplied here take precedence.

...

Additional arguments forwarded to qe_extract() when x is a raw set.

Value

A single character string containing a complete HTML document.

Examples

if (FALSE) { # \dontrun{
writeLines(qe_html(set), "plot.html")
writeLines(qe_html(qe_plot(set) |> qe_group("FirstGame")), "plot.html")
} # }