Get label for steps

get_steps_label(steps)

Arguments

steps

Steps object parsed by parse_steps

Value

Vector of step labels

Examples

# steps represented by a dictionary system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>% read_cwl_json() %>% parse_steps() %>% get_steps_label()
#> [1] "SBG Create Expression Matrix - Transcripts" #> [2] "SBG Create Expression Matrix - Genes" #> [3] "SBG Pair FASTQs by Metadata" #> [4] "Salmon Index" #> [5] "Salmon Quant - Reads"
# steps represented by a list system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>% read_cwl_yaml() %>% parse_steps() %>% get_steps_label()
#> [1] "SBG Create Expression Matrix - Transcripts" #> [2] "SBG Create Expression Matrix - Genes" #> [3] "SBG Pair FASTQs by Metadata" #> [4] "Salmon Index" #> [5] "Salmon Quant - Reads"