Learn R Programming

biocompute (version 1.1.1)

export_json: Export BioCompute Object as JSON

Description

Export BioCompute Object as JSON

Usage

export_json(x, file)

Arguments

x

BioCompute Object JSON string from convert_json

file

JSON file path

Value

Path to the output file

Examples

Run this code
# NOT RUN {
file_json <- tempfile(fileext = ".json")
generate_example("HCV1a") %>%
  convert_json() %>%
  export_json(file_json)
cat(paste(readLines(file_json), collapse = "\n"))
# }

Run the code above in your browser using DataLab