get_edges {tidycwl} | R Documentation |
Get edges in a CWL workflow into a data frame
Description
Get edges in a CWL workflow into a data frame
Usage
get_edges(outputs, steps)
Arguments
outputs |
Parsed outputs |
steps |
Parsed steps |
Value
Data frame containing edge information
Examples
# edges represented by a dictionary
flow <- system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>% read_cwl_json()
get_edges(
flow %>% parse_outputs(),
flow %>% parse_steps()
) %>% str()
# edges represented by a list
try(
flow <- system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>% read_cwl_yaml()
)
try(
get_edges(
flow %>% parse_outputs(),
flow %>% parse_steps()
) %>% str()
)
[Package tidycwl version 1.0.7 Index]