link_what: List possible linking methods

Description Usage Arguments Details Value Examples

Description

List possible linking methods

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
link_what(from, to, ...)

## S4 method for signature 'Tool,Tool'
link_what(from, to)

## S4 method for signature 'Tool,SBGWorkflow'
link_what(from, to)

## S4 method for signature 'SBGWorkflow,Tool'
link_what(from, to)

## S4 method for signature 'SBGWorkflow,SBGWorkflow'
link_what(from, to)

Arguments

from

either Tool App or SBGWorkflow object

to

either Tool App or Workflow object

...

more auguments

Details

Given two object of Tool, Flow or App, list all possible input/output match.

Value

A Workflow object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
t1 <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
t2 <- system.file("extdata/app", "tool_star.json", package = "sevenbridges")
t1 <- convert_app(t1)
t2 <- convert_app(t2)
# check possible link
link_what(t1, t2)
tool.in <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
flow.in <- system.file("extdata/app", "flow_star.json", package = "sevenbridges")
t1 <- convert_app(tool.in)
f2 <- convert_app(flow.in)
link_what(t1, f2)
tool.in <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
flow.in <- system.file("extdata/app", "flow_star.json", package = "sevenbridges")
t1 <- convert_app(tool.in)
f2 <- convert_app(flow.in)
link_what(f2, t1)

sevenbridges documentation built on March 25, 2021, 6 p.m.