export_word {biocompute}R Documentation

Export BioCompute Object as Word document

Description

Export BioCompute Object as Word document

Usage

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

Arguments

x

BioCompute Object JSON string from convert_json

file

Word (docx) 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

## Not run: 
file_docx <- tempfile(fileext = ".docx")
generate_example("HCV1a") %>%
  convert_json() %>%
  export_word(file_docx)

## End(Not run)

[Package biocompute version 1.1.1 Index]