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

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

Examples

# \dontrun{ show_motif("1,2[I.C]", net = ml_net, directed = FALSE, label = TRUE)
# }