export_json {biocompute}R Documentation

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

file_json <- tempfile(fileext = ".json")
generate_example("HCV1a") %>%
  convert_json() %>%
  export_json(file_json)
cat(paste(readLines(file_json), collapse = "\n"))

[Package biocompute version 1.1.1 Index]