addPropertiesToBiopaxInstance: This function adds new properties to an existing biopax...

Description Usage Arguments Value Author(s) Examples

View source: R/modifyBiopax.R

Description

This function adds new properties to an existing biopax instance.

Usage

1

Arguments

biopax

A biopax model

id

string. ID of the instance

properties

named list of properties.

Value

Returns the supplied biopax model with new properties added to this instance.

Author(s)

Frank Kramer

Examples

1
2
3
4
5
biopax = createBiopax(level=2)
biopax = addBiopaxInstance(biopax, class="protein", id="id1", properties=list(NAME="protein1",SYNONYMS="p1"))
biopax$dt
biopax = addPropertiesToBiopaxInstance(biopax, id="id1", properties=list(COMMENT="this is my first protein!"))
biopax$dt

rBiopaxParser documentation built on Nov. 8, 2020, 8:21 p.m.