SPIA¶
An exporter for signaling pathway impact analysis (SPIA) described by [Tarca2009].
[Tarca2009] | Tarca, A. L., et al (2009). A novel signaling pathway impact analysis. Bioinformatics, 25(1), 75–82. |
To run this module on an arbitrary BEL graph, use the command python -m pybel_tools.analysis.spia
.
-
pybel_tools.analysis.spia.
bel_to_spia_matrices
(graph)[source]¶ Create an excel sheet ready to be used in SPIA software.
Parameters: graph ( BELGraph
) – BELGraphReturn type: Mapping
[str
,DataFrame
]Returns: dictionary with matrices
-
pybel_tools.analysis.spia.
spia_matrices_to_excel
(spia_matrices, path)[source]¶ Export a SPIA data dictionary into an Excel sheet at the given path.
Note
# The R import should add the values: # [“nodes”] from the columns # [“title”] from the name of the file # [“NumberOfReactions”] set to “0”
Return type: None