Rclean (version 1.0.0)

get.spine: .get.spine --- Find the minimal path through the provenance necessary to produce a result.

Description

OUTPUT = A vector with the set of nodes of the minimal path.

Usage

get.spine(node.id, g)

Arguments

node.id

Name of the node.

g

Provenance graph adjacency matrix.

Value

A set of node names tracing the complete parantage of a result.

Details

This is an internal function for parsing PROV-JSON formatted provenance.

Examples

Run this code
# NOT RUN {
data(prov_json)
prov <- read.prov(prov_json)
Rclean:::get.spine("d1", prov$graph)
# }

Run the code above in your browser using DataLab