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


saezlab/OmnipathR documentation built on April 17, 2024, 9:39 p.m.