Skip to contents

Returns a <div> with the inlined bundle and a <qe-visual> / <qe-graph> pair — no <html> wrapper, suitable for R Markdown / Quarto via htmltools::HTML().

Usage

qe_fragment(x, height = "480px", graph_opts = list(), ...)

Arguments

x

A qe_plot object, a raw rENA / tma / ona set, or a ModelData list.

height

CSS height of the containing <div>. Default "480px".

graph_opts

Named list of <qe-graph> attribute overrides.

...

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

Value

A character string of class "html".

Examples

if (FALSE) { # \dontrun{
htmltools::HTML(qe_fragment(set))
htmltools::HTML(qe_fragment(qe_plot(set) |> qe_group("FirstGame")))
} # }