View source: R/visualizeDependencies.R
visualizeDependencies | R Documentation |
Creates a graphical visualization of dependencies between functions in the mr-universe.
visualizeDependencies(
...,
direction = "both",
order = 2,
filter = NULL,
packages = getConfig("packages"),
filename = NULL
)
... |
function(s) to be analyzed |
direction |
Character string, either “in”, “out” or "both". If “in” all sources feeding into the function are listed. If “out” consumer of the function are listed. If “both” the union of "in" and "out" is returned. |
order |
order of dependencies. Order 1 would be only functions directly called from (in case of direction "in") or directly calling (in case of direction "out") are shown. Order 2 will also show direct dependencies of the order 1 dependencies, order 3 also the direct dependencies from order 2 dependencies, etc. |
filter |
regular expression to describe elements which should be excluded from visualization (e.g. "^tool" to exclude all tool functions) |
packages |
packages to use when searching dependencies |
filename |
If a filename is provided, the resulting graph will be saved |
Debbora Leip, Jan Philipp Dietrich
getDependencies
, getMadratGraph
, getMadratInfo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.