Export BioCompute Object as HTML

export_html(x, file, wrap = FALSE, linewidth = 80, ...)

Arguments

x

BioCompute Object JSON string from convert_json

file

HTML output file path

wrap

Should the long lines be wrapped?

linewidth

Maximum linewidth when wrap is TRUE.

...

Additional parameters for render.

Value

Path to the output file

Examples

if (FALSE) {
file_html <- tempfile(fileext = ".html")
generate_example("HCV1a") %>%
  convert_json() %>%
  export_html(file_html)
}