The motifs can be copy-pasted into a BMA canvas.
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",
# ...
# }],
# ... (truncated)
# }}