Inference

Mutations for inferring new edges in the graph.

pybel.struct.mutation.inference.enrich_rnas_with_genes(graph)[source]

Add the corresponding gene node for each RNA/miRNA node and connect them with a transcription edge.

Parameters

graph (BELGraph) – A BEL graph

Return type

None

pybel.struct.mutation.inference.enrich_proteins_with_rnas(graph)[source]

Add the corresponding RNA node for each protein node and connect them with a translation edge.

Parameters

graph (BELGraph) – A BEL graph

Return type

None

pybel.struct.mutation.inference.enrich_protein_and_rna_origins(graph)[source]

Add the corresponding RNA for each protein then the corresponding gene for each RNA/miRNA.

Parameters

graph (BELGraph) – A BEL graph

Return type

None

pybel.struct.mutation.inference.infer_child_relations(graph, node)[source]

Propagate causal relations to children.

Return type

List[str]