Description Usage Arguments Value Author(s) Examples
View source: R/visualizeBiopax.R
This function generates an adjacency matrix from the activations/inhibitions of a pathway in a biopax model.
This function internally first calls pathway2RegulatoryGraph, then converts the regulatory graph to an adjacency matrix. See pathway2RegulatoryGraph for more details.
1 2 3 4 5 6 7 8 |
biopax |
A biopax model |
pwid |
string |
expandSubpathways |
logical. If TRUE subpathways are expanded into this graph, otherwise only this very pathway is used. |
splitComplexMolecules |
logical. If TRUE every complex is split up into its components. This leads to splitting a single node with name of the complex into several nodes with names of the components, these components all have identical edges. |
useIDasNodenames |
logical. If TRUE nodes of the graph are named by their molecule IDs instead of using the NAME property. This can help with badly annotated/formatted databases. |
verbose |
logical |
Returns the adjacency matrix representing the regulatory graph of the supplied pathway.
Frank Kramer
1 2 3 4 5 | # load data
data(biopaxexample)
pwid1 = "pid_p_100002_wntpathway"
pwid2 = "pid_p_100146_hespathway"
pathway2AdjacancyMatrix(biopax, pwid1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.