fullprovgraph: Create the full (multiple values per variable) provenance...

Description Usage Arguments Value Examples

Description

This generates and returns the full provenance graph reflecting the information stored in the cache or data.frame specified. This can include the same variable multiple times if the corresponding expression is run with different inputs.

Usage

1
2
3
4
5
6
7
fullprovgraph(provstore)

## S4 method for signature 'ProvStoreDF'
fullprovgraph(provstore)

## S4 method for signature 'data.frame'
fullprovgraph(provstore)

Arguments

provstore

The provenance store data to use when generating the graph

Value

an igraph object representing the provenance graph

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
library(fastdigest)
code = c("x = 5", "y = x + 1")
outvars = c("x", "y")
outvarhashes = c(fastdigest(5), fastdigest(6))
outvarclasses = rep("numeric", 2)
invars = c("", "x")
invarhashes = c("", fastdigest(5))
invarclasses = c("", "numeric")

ps = ProvStoreDF(outvars = outvars,
                 outvarhashes = outvarhashes,
                 outvarclasses = outvarclasses,
                 invars = invars,
                 invarhashes = invarhashes,
                 invarclasses = invarclasses,
                 code = code,
                 agent = "coolguyorgirl")

plot(fullprovgraph(ps))

roprov documentation built on May 2, 2019, 2:20 a.m.

Related to fullprovgraph in roprov...