GPR

GPR
is a list of rules ({"RxnID" -> p["ID"], p["ID"] → g["ID"], ...}) attribute containing the gene-protein-reaction relations of a model.
Access the GPR associations of a model
Discard GPR associations
Restore to previous values
Updating the GPR associations will add to the already existing relations. Newly defined GPR associations take precedence over already existing ones.
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Access the GPR associations of a model
In[3]:=
Click for copyable input
Out[3]//Short=
In[4]:=
Click for copyable input
Out[4]=
Discard GPR associations
In[5]:=
Click for copyable input
In[6]:=
Click for copyable input
Out[6]=
Restore to previous values
In[7]:=
Click for copyable input
In[8]:=
Click for copyable input
Out[8]//Short=
Updating the GPR associations will add to the already existing relations. Newly defined GPR associations take precedence over already existing ones.
In[9]:=
Click for copyable input
In[10]:=
Click for copyable input
Out[10]//Short=