Description Usage Arguments Value Examples
An efficient way to access JSON file, no need to convert a JSON into a
Tool
or Flow
object before access, directly operate on a
list parsed from JSON file. Compare to convert_app
, it is much faster.
1 2 3 4 5 6 7 | input_matrix(
from,
new.order = c("id", "label", "type", "required", "prefix", "fileTypes"),
required = NULL
)
output_matrix(from, new.order = c("id", "label", "type", "fileTypes"))
|
from |
JSON file path |
new.order |
a vector of column orders by default for input it's
|
required |
logical value, show requried input node only or not. |
A data frame of input/output information.
1 2 3 4 5 6 7 8 9 10 11 | tool.in <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
flow.in <- system.file("extdata/app", "flow_star.json", package = "sevenbridges")
input_matrix(tool.in)
input_matrix(tool.in, required = TRUE)
input_matrix(flow.in)
input_matrix(flow.in, c("id", "type"))
input_matrix(flow.in, required = TRUE)
tool.in <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
flow.in <- system.file("extdata/app", "flow_star.json", package = "sevenbridges")
output_matrix(tool.in)
output_matrix(flow.in)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.