Skip to contents

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.set result.

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 to FALSE to reference the bundle via a relative path (smaller file, not portable).

Value

The resolved absolute path of the written file (invisibly).

Examples

if (FALSE) { # \dontrun{
set <- ena.make.set(enadata = accum)
ena.export.html(set, "model.html", group_col = "Condition")
} # }