Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get pathways and additional information from the Reactome database
ResourceFunction["ReactomePathways"]["Organisms"] gives the dataset with basic information for all the organisms in Reactome. | |
ResourceFunction["ReactomePathways"]["ExternalDatabases"] gives the dataset with all the external databases of Reactome. | |
ResourceFunction["ReactomePathways"][spcode,"PrimaryPathways"] gives the top level pathways for a specific spcode in Reactome. | |
ResourceFunction["ReactomePathways"][pathcode,prop] gives a property prop for a specific pathcode in Reactome. | |
ResourceFunction["ReactomePathways"][keywords,"QueryPaths"] gives a dataset with pathways corresponding to keywords. | |
ResourceFunction["ReactomePathways"][externalidentifier,"QueryReactions"] gives a dataset with reactions corresponding to keywords. |
"SecondaryPathways" | low level pathways inside a top level pathway |
"ParentPathways" | all possible paths from the requested event to the top level pathway(s) |
"Information" | general information of a pathway |
"Compartments" | compartments of a pathway |
"Entries" | biochemical components of a pathway |
"Reactions" | reactions of a pathway |
"Glyph" | information related to the nodes in the pathway |
"Arc" | information related to the edges in the pathway |
"Image" | get the Reactome Image of the pathway |
"Graph" | get the graph of the pathway |
"EntriesExternalIdentifiers" | list of participants in a given event and their external identifiers |
"ArrowHeadSize" | 0.01 | set the arrowhead size |
"Distance" | 8 | set the distance between the vertex and edge |
"RemoveReactions" | False | delete vertices representing reactions |
"Extension" | "png" | set the file extension to one of the following:png,jpg,jpeg,svg,or gif. |
"Quality" | 10 | set the quality on a scale from 1 to 10 |
"Flag" | None | gene name,protein or chemical identifier or Reactome identifier to highlight in the diagram |
"FlagInteractors" | True | whether to take into account interactors for the flagging |
"Title" | True | whether the name of the pathway is shown below |
"Margin" | 0 | image margin from 0 to 20 |
"Ehld" | True | whether textbook-like illustrations are taken into account (Electronic Help with Learning and Discovery) |
"DiagramProfile" | "Modern" | Modern or Standard |
"Token" | None | the analysis token with the results to be overlaid on top of the given diagram |
"Resource" | "TOTAL" | the analysis resource for which the results will be overlaid on top of the given pathways overview |
"AnalysisProfile" | "Standard" | Standard, Strosobar, or Copper Plus |
Get basic information for all the organisms in the database:
In[1]:= | ![]() |
Out[2]= | ![]() |
Databases of the external identifiers:
In[3]:= | ![]() |
Out[163]= | ![]() |
Get basic information for all the top pathways for Homo sapiens with NCBITaxonomyID 9606:
In[164]:= | ![]() |
Out[165]= | ![]() |
Get basic information for all the top pathways for Homo sapiens:
In[166]:= | ![]() |
Out[167]= | ![]() |
Get basic information for all the pathways in the primary pathway "R-HSA-180786" of Homo sapiens:
In[168]:= | ![]() |
Out[169]= | ![]() |
Get basic information for all the parent pathways of a pathway "R-HSA-5673001" of Homo sapiens:
In[170]:= | ![]() |
Out[171]= | ![]() |
Get information of "R-HSA-180786" pathway for Homo sapiens:
In[172]:= | ![]() |
Out[172]= | ![]() |
Get the Entries of "R-HSA-180786" pathway for Homo sapiens:
In[173]:= | ![]() |
Out[174]= | ![]() |
Get the Reactions of "R-HSA-180786" pathway for Homo sapiens:
In[175]:= | ![]() |
Out[176]= | ![]() |
Get the Graph of "R-HSA-180786" pathway for Homo sapiens. Get the complete names of the path components hovering over them. Click the vertex name to get more information:
In[177]:= | ![]() |
Out[178]= | ![]() |
Get the Compartments of "R-HSA-180786" pathway for Homo sapiens:
In[179]:= | ![]() |
Out[180]= | ![]() |
Get the Glyph information to build the Graph for "R-HSA-180786" pathway for Homo sapiens:
In[181]:= | ![]() |
Out[182]= | ![]() |
Get the Arc information to build the Graph for "R-HSA-180786" pathway for Homo sapiens:
In[183]:= | ![]() |
Out[184]= | ![]() |
Get the Image of "R-HSA-180786" pathway for Homo sapiens:
In[185]:= | ![]() |
Out[186]= | ![]() |
Get the ExternalIdentifiers of the entries in the "R-HSA-180786" pathway for Homo sapiens:
In[187]:= | ![]() |
Out[188]= | ![]() |
Customize the Graph of "R-HSA-180786" pathway for Homo sapiens:
In[189]:= | ![]() |
Out[190]= | ![]() |
Delete the vertices representing reactions in the Graph of "R-HSA-180786" pathway for Homo sapiens:
In[191]:= | ![]() |
Out[192]= | ![]() |
Sometimes is necessary to set the thickness of the edge style in order to display in a better way the edge highlighted:
In[193]:= | ![]() |
Out[194]= | ![]() |
Customize the Image of the "R-HSA-180786" pathway for Homo sapiens:
In[195]:= | ![]() |
Out[215]= | ![]() |
Look for pathways using keywords:
In[216]:= | ![]() |
Out[217]= | ![]() |
Look for pathways using keywords and for a particular species:
In[218]:= | ![]() |
Out[187]= | ![]() |
Pathways where an external identifier can be mapped to, using the name of the source and identifier:
In[219]:= | ![]() |
Out[358]= | ![]() |
Pathways where an external identifier can be mapped to, using ExternalIdentifier:
In[359]:= | ![]() |
Out[177]= | ![]() |
Pathways where an external identifier can be mapped to using the name of the source and identifier, specifying the species:
In[360]:= | ![]() |
Out[360]= | ![]() |
Pathways where an external identifier can be mapped to using ExternalIdentifier, specifying the species:
In[361]:= | ![]() |
Out[187]= | ![]() |
Reactions where an external identifier can be mapped to using ExternalIdentifier:
In[362]:= | ![]() |
Out[363]= | ![]() |
Reactions where an external identifier can be mapped to by specifying the species:
In[364]:= | ![]() |
Out[364]= | ![]() |
Get the vertex list of "R-HSA-180786" pathway for Homo sapiens:
In[365]:= | ![]() |
In[366]:= | ![]() |
Out[366]= | ![]() |
Get the edge list of "R-HSA-180786" pathway for Homo sapiens:
In[367]:= | ![]() |
Out[367]= | ![]() |
Get the number of vertices for "R-HSA-180786" pathway for Homo sapiens:
In[368]:= | ![]() |
Out[368]= | ![]() |
Get the number of edges of "R-HSA-180786" pathway for Homo sapiens:
In[369]:= | ![]() |
Out[369]= | ![]() |
Get the vertex degrees:
In[370]:= | ![]() |
Out[370]= | ![]() |
Make a histogram:
In[371]:= | ![]() |
Out[371]= | ![]() |
Get the vertex out-degree list:
In[372]:= | ![]() |
Out[372]= | ![]() |
Make a histogram:
In[373]:= | ![]() |
Out[374]= | ![]() |
Get the vertex in-degree list:
In[375]:= | ![]() |
Out[375]= | ![]() |
Make a histogram:
In[376]:= | ![]() |
Out[376]= | ![]() |
Get the BetweennessCentrality:
In[377]:= | ![]() |
Out[377]= | ![]() |
Make a histogram:
In[378]:= | ![]() |
Out[378]= | ![]() |
You will get $Failed if the pathway id is incorrect:
In[379]:= | ![]() |
Out[379]= | ![]() |
Highlight the sub pathways in the "R-HSA-180786" pathway for Homo sapiens:
In[380]:= | ![]() |
In[381]:= | ![]() |
Out[381]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License