exemplify_motif: Returns an example for a motif found in a given network

Description Usage Arguments Value See Also Examples

View source: R/count_motifs.R

Description

Returns an example for a motif found in a given network

Usage

1
exemplify_motif(net, motif, lvl_attr = "sesType", directed = NULL)

Arguments

net

network object

motif

motif identifier string for the motif

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

Value

vector of nodes in the motif

See Also

motifr::show_motif

Examples

1
2
3
4
## Not run: 
exemplify_motif(ml_net, motif = "1,2[I.C]", directed = FALSE)

## End(Not run)

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