bma_motif_es {OmnipathR} | R Documentation

## BMA motifs from a sequence of edges

### Description

These motifs can be added to a BMA canvas.

### Usage

    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

Character: BMA motifs as a single string.

### Examples

    interactions <- import_omnipath_interactions(resources = 'ARN')
    graph <- interaction_graph(interactions)
    motifs <- bma_motif_es(igraph::E(graph)[1], graph)

[Package OmnipathR version 3.2.0 Index]