Description Usage Arguments Value Author(s) Examples
This function adds a new instance to an existing biopax model. "properties" is a named list of vectors, with the vector name as the name of the property and every entry of the vector a property value. Please note: case sensitivity! In Biopax Level 2 all properties are written in all capital letters. This will change in Biopax Level 3.
1 2 3 4 5 6 7 |
biopax |
A biopax model |
class |
string. Class name |
id |
string. ID of the instance |
properties |
named list of properties. |
verbose |
logical. Be verbose about what was added. |
Returns the supplied biopax model with the new instance added.
Frank Kramer
1 2 3 | biopax = createBiopax(level=2)
biopax = addBiopaxInstance(biopax, class="protein", id="id1", properties=list(NAME="protein1",SYNONYMS="p1"))
biopax$dt
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.