explore_motifs {motifr} | R Documentation |
Explore the motif zoo interactively in a shiny app
Description
Without any arguments, this launches a shiny app, where all available motifs in motifr can be graphically displayed by selecting signature-class combinations from a dropdown list.
Usage
explore_motifs(net = NULL, lvl_attr = c("sesType"))
Arguments
net |
optional: you may supply your own network object here (must be loaded as an R object in the global environment) |
lvl_attr |
if you supply your own network object, indicate the name of the network attribute where level information is stored for each node |
Details
If arguments net and lvl_attr are provided, you can load you own network into the shiny app to explore what a given motif classifier looks like for your network. Be aware that if your network does not contain a specific motif, an example of the motif can also not be shown, because motifr illustrates motifs by actually finding an example within a given network.
Value
Launches a shiny app where all available motifs can be displayed or, alternatively, all available motifs for a user-supplied network