Writes a single .html file containing the qeviz bundle and embedded
model data. No R, no Python, and no server are required to open the file —
share it with collaborators, attach it to a paper submission, or archive it
as supplementary material.
Usage
ena.export.html(
set,
file = "ena_plot.html",
group_col = NULL,
...,
width = 700L,
height = 600L,
selfcontained = TRUE
)Arguments
- set
An
ena.make.setresult.- file
Output file path. Default
"ena_plot.html".- group_col
Character. Grouping column in
set$points.- ...
Additional arguments passed to
ena.plot.interactive(e.g.group,compare,label_nodes).- width, height
Plot dimensions in pixels. Default 700 × 600.
- selfcontained
Logical. Inline the qeviz bundle in the HTML file. Default
TRUE. Set toFALSEto reference the bundle via a relative path (smaller file, not portable).
Examples
if (FALSE) { # \dontrun{
set <- ena.make.set(enadata = accum)
ena.export.html(set, "model.html", group_col = "Condition")
} # }
