rba_reactome_exporter_event {rbioapi}R Documentation

Exports A Reactome Event to SBGN or SBML

Description

This function will export a supplied Reactome Event (Pathway or Reaction) to a SBGN (Systems Biology Graphical Notation) or SBML (Systems Biology Markup Language)

Usage

rba_reactome_exporter_event(event_id, output_format, save_to = NULL, ...)

Arguments

event_id

Reactome event's database IDs (DbId) or Stable IDs (StId).

output_format

Either "sbgn" or "sbml".

save_to

NULL or Character:

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

NULL, According to the inputs, a SBGN or SBML file will be saved to disk.

Corresponding API Resources

"GET https://reactome.org/ContentService/exporter/event/ {identifier}.sbgn"
"GET https://reactome.org/ContentService/exporter/event/ {identifier}.sbml"

References

See Also

Other "Reactome Content Service - Format Exporter": rba_reactome_exporter_diagram(), rba_reactome_exporter_overview(), rba_reactome_exporter_reaction()

Examples

## Not run: 
rba_reactome_exporter_event(event_id = "R-HSA-177929",
    output_format = "sbgn",
    save_to = "R-HSA-177929.sbgn")

## End(Not run)
## Not run: 
rba_reactome_exporter_event(event_id = "R-HSA-177929",
    output_format = "sbgn")

## End(Not run)


[Package rbioapi version 0.8.1 Index]