show_motif {motifr} | R Documentation |
Plots an example for a motif with given motif identifier string taken from the given graph.
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
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 |
directed |
whether the graph shall be treated as a directed graph. Per
default ( |
... |
additional arguments to be passed to plotting function (e.g.
|
Value
plot
See Also
motifr::exemplify_motif
Examples
## Not run:
show_motif("1,2[I.C]", net = ml_net, directed = FALSE, label = TRUE)
## End(Not run)
[Package motifr version 1.0.0 Index]