Export BioCompute Object as PDF

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

Arguments

x

BioCompute Object JSON string from convert_json

file

PDF 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_pdf <- tempfile(fileext = ".pdf")
generate_example("HCV1a") %>%
  convert_json() %>%
  export_pdf(file_pdf)
}