cascade.graph
Utilities for manipulating causal graphs
Functions
Acyclify a directed graph by iteratively removing cycle-inducing edges with the lowest weights |
|
Annotate counterfactual explanation to the causal graph |
|
Assemble multiple scaffold graphs into a heterogeneous one given a specific node list |
|
Extract the core explanation graph from an annotated causal graph that explains the predicted change in a list of leaf nodes |
|
Split one single graph into multiple graphs by demultiplexing an edge attribute |
|
Filter graph by an edge attribute |
|
Map edge attribute by a function |
|
Marginalize a directed graph by keeping only a subset of observed nodes, optionally inferring indirect connections up to a maximal number of steps mediated by latent nodes. |
|
Combine multiple graphs into a single graph by multiplexing an edge attribute |
|
Get the number of multiplexed graphs according to an edge attribute |
|
Get node statistics of a graph |
|
Prepare a graph for visualization in Cytoscape |