Description Usage Arguments Value Author(s) Examples
This function adds a new physical entity participant instance, which is a placeholder for physicalEntity class instances in interactions. This is a convenience function to add physicalEntityParticipant instances, internally the function addBiopaxInstance is called.
1 | addPhysicalEntityParticipant(biopax, referencedPhysicalEntityID, id = NULL)
|
biopax |
A biopax model |
referencedPhysicalEntityID |
string. ID the new physicalEntity instance to reference here. |
id |
string. ID for the physical entity participant. If NULL a new ID is generated with prefix "physicalEntityParticipant". |
Returns the biopax model with the added physicalEntityParticipant.
fkramer
1 2 3 4 5 6 7 | biopax = createBiopax(level=2)
biopax = addPhysicalEntity(biopax, class="protein", id="p_id1", NAME="protein1")
biopax = addPhysicalEntityParticipant(biopax, "p_id1", id="PEP_p_id1")
biopax = addPhysicalEntity(biopax, class="protein", id="p_id2", NAME="protein2")
biopax = addPhysicalEntityParticipant(biopax, "p_id2", id="PEP_p_id2")
biopax = addBiochemicalReaction(biopax, LEFT=c("PEP_p_id1"), RIGHT=c("PEP_p_id2"), id="biochem_id1")
biopax$dt
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.