bma_motif_vs {OmnipathR} | R Documentation

## Prints a BMA motif to the screen from a sequence of nodes, which can be copy/pasted into the BMA canvas

### Description

Intended to parallel print_path_vs

### Usage

    bma_motif_vs(node_seq, G)

### Arguments

`node_seq` | An igraph node sequence.
`G` | An igraph graph object.

### Value

Character: BMA motifs as a single string.

### Examples

    interactions <- import_omnipath_interactions(resources = 'ARN')
    graph <- interaction_graph(interactions)
    bma_string <- bma_motif_vs(
        igraph::all_shortest_paths(
            graph,
            from = 'ULK1',
            to = 'ATG13'
        )$res,
        graph
    )

[Package OmnipathR version 3.0.0 Index]