bma_motif_es: BMA motifs from a sequence of edges

View source: R/bma.R

bma_motif_esR 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 <- omnipath(resources = "ARN")
graph <- interaction_graph(interactions)
motifs <- bma_motif_es(igraph::E(graph)[1], graph)


saezlab/OmnipathR documentation built on Nov. 10, 2024, 11:02 p.m.