toSBGN: Convert a BioPAX OWL file to SBGNML

View source: R/toSBGN.R

toSBGNR Documentation

Convert a BioPAX OWL file to SBGNML

Description

This function will convert a BioPAX OWL file into the Systems Biology Graphical Notation (SBGN) Markup Language (SBGNML) XML representation

Usage

toSBGN(inputFile, outputFile = NULL)

Arguments

inputFile

a string of the name of the input BioPAX OWL file

outputFile

a string of the name of the output SBGNML file

Details

Objects in the SBGNML format are laid out using a Compound Spring Embedder (CoSE) layout

Value

see readSbgn()

References

http://www.cs.bilkent.edu.tr/~ivis/layout/cose-animated-demo/cose.html

Examples

outFile <- tempfile()
results <- toSBGN(system.file("extdata", "biopax3-short-metabolic-pathway.owl", 
  package="paxtoolsr"), 
  outFile) 


BioPAX/paxtoolsr documentation built on Jan. 31, 2023, 4:22 a.m.