graphMng {pipeFrame} | R Documentation

## Step graph management

### Description

The step relations are managed and restricted to directed acyclic graph. The direction of data flow is from upstream to downstream. So when users create a new step object, restricting its relation with existing steps is necessary.

### Usage

    addEdges(edges, argOrder)

    getPrevSteps(stepType, argOrder)

    getNextSteps(stepType, argOrder)

    printMap(stepType = NULL, display = TRUE, ...)

### Arguments

`edges` | `Character` vector. Contain the names of start and end points for all edges. It needs to follow the format like c("startpt1","endpt1","startpt2", "endpt2","startpt3","endpt3").
`argOrder` | `Numeric` scalar. The argument order of the input Step object.
`stepType` | `Character` scalar. Step class name of each step.
`display` | `Logical` scalar. Whether show the picture on device or not.
`...` | Additional arguments, currently used.

### Value

`addEdges` | No value will be returned.
`getPrevSteps` | Names of previous steps
`getNextSteps` | Names of next steps
`printMap` | Print the flow map for the pipeline.

### Examples

    addEdges(edges = c("RandomRegionOnGenome",
                       "OverlappedRandomRegion"),argOrder = 1)
    printMap()

    getPrevSteps("OverlappedRandomRegion",1)

[Package pipeFrame version 1.2.2 Index]