Skip to contents

The motifs can be copy-pasted into a BMA canvas.

Usage

print_bma_motif_es(edge_seq, G, granularity = 2)

Arguments

edge_seq

An igraph edge sequence.

G

An igraph graph object.

granularity

Numeric: granularity value.

Value

Returns `NULL`.

Examples

interactions <- omnipath(resources = "ARN")
graph <- interaction_graph(interactions)
print_bma_motif_es(igraph::E(graph)[1], graph)
#> {"Model": {"Name": "Omnipath motif", "Variables":[{"Name":"ULK1", "Id":1, "RangeFrom":0, "RangeTo":2, "Formula":""}, {"Name":"ATG13", "Id":2, "RangeFrom":0, "RangeTo":2, "Formula":""}], "Relationships":[{"Id":3, "FromVariable":1, "ToVariable":2, "Type":"Activator"}]}, "Layout":{"Variables":[{"Id":1, "Name":"ULK1", "Type":"Constant", "ContainerId":0, "PositionX":125.000000, "PositionY":140.000000, "CellX":0, "CellY":0, "Angle":0, "Description":""}, {"Id":2, "Name":"ATG13", "Type":"Constant", "ContainerId":0, "PositionX":211.602540, "PositionY":90.000000, "CellX":0, "CellY":0, "Angle":0, "Description":"Activator-PMID:ARN:19211835, ARN:19225151, ARN:19287211, ARN:20562859, AlzPathway:15197469, BioGRID:27203176, InnateDB:19211835, InnateDB:19225151, InnateDB:19287211, InnateDB:20562859, IntAct:20562859, IntAct:25686248, IntAct:33450483, Lit-BM-17:19597335, Lit-BM-17:20562859, Lit-BM-17:21460630, Lit-BM-17:23392225, Lit-BM-17:23524951, Lit-BM-17:25126726, Lit-BM-17:25686248, Lit-BM-17:26018823, PhosphoSite:26138443, PhosphoSite:26687599, PhosphoSite:27387056, PhosphoSite:27390127, PhosphoSite:27932573, SIGNOR:19211835, SPIKE:18936157, SPIKE_LC:18936157."}], "Containers":[]}}
# {"Model": {
#     "Name": "Omnipath motif",
#     "Variables":[{
#         "Name":"ULK1",
#         "Id":1,
#         "RangeFrom":0,
#         "RangeTo":2,
#         "Formula":""
#     },
#     {
#         "Name":"ATG13",
#         ...
#     }],
# ... (truncated)
# }}