Reads an SVG file (typically produced by plot_tRNA_structure())
and wraps it in a centering <div>, returning an
htmltools::HTML() object suitable for use in R Markdown or
Quarto documents.
Arguments
- svg_path
Path to an SVG file, typically the return value of
plot_tRNA_structure().
Value
An htmltools::HTML() object.
Examples
if (FALSE) { # \dontrun{
svg <- plot_tRNA_structure("tRNA-Glu-TTC", "Escherichia coli")
structure_html(svg)
} # }