Returns an example for a motif found in a given network
exemplify_motif(net, motif, lvl_attr = "sesType", directed = NULL)
net | network object |
---|---|
motif | motif identifier string for the motif |
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 ( |
vector of nodes in the motif
# \dontrun{ exemplify_motif(ml_net, motif = "1,2[I.C]", directed = FALSE)#> [1] "SpatPlanA" "actor4" "actor8"# }