PlotGraphLab: PlotGraphLab

Description Usage Arguments Examples

Description

Creates an interaction plot based on the output of GraphLab for a given function

Usage

1
2
PlotGraphLab(GraphLab, func, filterOut = c("base", "utils"),
  arrow_curv = -0.2, color = "black", dictionnary = "default")

Arguments

GraphLab

Output of the GraphLab function for the whole folder

func

The function of interest for which the interaction graph should be plotted

filterOut

name of packages from which the functions should be ignored. By default: base & utils

arrow_curv

Curvature used for arrows showing non recursive calls (default: -0.2)

color

Color of the outer box (default: black)

dictionnary

A list with names the tags to use, and value the corresponding color. "unknown" is used for all tags that are not recognised and will be in light grey by default.

Examples

1
2
3
4
5
6
7
G<-GraphLab(system.file("extdata", "", package = "DevGRaph"))
# Same as DevGraphLab in this example:
PlotGraphLab(GraphLab = G, func = "Start")
# Graph for \code{progeny} function only
PlotGraphLab(GraphLab = G,func = "progeny")
# Ignoring ggplot2 imports:
PlotGraphLab(GraphLab = G,func = "Start", filterOut = "ggplot2")

DeveauP/RDevGraphlab documentation built on May 6, 2019, 2:12 p.m.