show_motif: Plots an example for a motif with given motif identifier...

Description Usage Arguments Value See Also Examples

View source: R/count_motifs.R

Description

If no network is provided, a motif in a dummy network (motifr::dummy_net or motifr::large_directed_dummy_net) will be shown.

Usage

1
show_motif(motif, net = NULL, lvl_attr = c("sesType"), directed = NULL, ...)

Arguments

motif

motif identifier string for the motif

net

network object

lvl_attr

character vector specifying the attribute name where level information is stored in net.

directed

whether the graph shall be treated as a directed graph. Per default (NULL), this is determined automatically using the structure of the provided network object

...

additional arguments to be passed to plotting function (e.g. label = TRUE)

Value

plot

See Also

motifr::exemplify_motif

Examples

1
2
3
4
## Not run: 
show_motif("1,2[I.C]", net = ml_net, directed = FALSE, label = TRUE)

## End(Not run)

motifr documentation built on Dec. 15, 2020, 5:23 p.m.