Description Usage Arguments Value Author(s) See Also Examples
This function creates BioPAX level 2 object model, bp2.model
, based on biopax data given in RDF format. The RDF data is expected to be output from Rredland library. The model has been tested only with Reactome data.
1 | my.bp2 <- bp2.create.model(rdf.data)
|
rdf.data |
|
Instance of "bp2.model" class.
Ossi Koivistoinen
"bp2.model", bp2.resume
, bp2.find.nodes
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 1. Read BioPAX data in RDF format using Rredland
require(Rredland)
biopax.file.path <- system.file('data/Reactome_69278.owl',package='bp2')
biopax.owl.file.uri <- paste('file://', biopax.file.path, sep='')
biopax.rdf <- readRDF(biopax.owl.file.uri, storageType="bdb")
biopax.rdf.data.frame <- as(biopax.rdf, "data.frame")
freeRedl(biopax.rdf)
# 2. Create bp2.model
my.bp2 <- bp2.create.model(biopax.rdf.data.frame)
# 3. Show some objects
my.bp2@all.objects[1:20]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.