Skip to contents

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 <- omnipath(resources = "ARN")
graph <- interaction_graph(interactions)
bma_string <- bma_motif_vs(
    igraph::all_shortest_paths(
        graph,
        from = 'ULK1',
        to = 'ATG13'
    )$res,
    graph
)