print_bma_motif_es {OmnipathR} | R Documentation

## Prints BMA motifs to the screen from a sequence of edges

### Description

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 <- import_omnipath_interactions(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)
    # }}

[Package OmnipathR version 3.0.0 Index]