Convert BioCompute Object or domain to YAML string

convert_yaml(x, ...)

Arguments

x

BioCompute Object or domain

...

Additional parameters for as.yaml.

Value

YAML string of the BioCompute Object

Examples

compose_description() %>% convert_yaml() %>% cat()
#> keywords: [] #> xref: [] #> platform: Seven Bridges Platform #> pipeline_steps: []
generate_example("minimal") %>% convert_yaml() %>% cat()
#> bco_spec_version: https://w3id.org/biocompute/1.3.0/ #> bco_id: id #> checksum: d743d2f1407707eadcc2a700f7c506f13deddf6bf9c8d9d888e9087cc67a1c8f #> provenance_domain: #> name: [] #> version: [] #> review: [] #> derived_from: [] #> obsolete_after: [] #> embargo: [] #> created: [] #> modified: [] #> contributors: [] #> license: [] #> usability_domain: [] #> extension_domain: #> fhir_extension: [] #> scm_extension: [] #> description_domain: #> keywords: [] #> xref: [] #> platform: Seven Bridges Platform #> pipeline_steps: [] #> execution_domain: #> script: [] #> script_driver: [] #> software_prerequisites: [] #> external_data_endpoints: [] #> environment_variables: [] #> parametric_domain: [] #> io_domain: #> input_subdomain: [] #> output_subdomain: [] #> error_domain: #> empirical_error: [] #> algorithmic_error: []