link_what {sevenbridges} | R Documentation

## List possible linking methods

### Description

List possible linking methods

### Usage

    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

    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)

[Package sevenbridges version 1.24.0 Index]