Get label for outputs

get_outputs_label(outputs)

Arguments

outputs

Parsed outputs

Value

Vector of output labels

Examples

# inputs represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl_json() %>%
  parse_outputs() %>%
  get_outputs_label()
#> [1] "Unmapped reads"                 "Transcript abundance estimates"
#> [3] "Gene abundance estimates"       "Mapping info"                  
#> [5] "Bootstrap data"                 "Equivalence classes"           
#> [7] "Transcript Expression Matrix"   "Gene Expression Matrix"        
#> [9] "Salmon Quant archive"          

# inputs represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
  read_cwl_yaml() %>%
  parse_outputs() %>%
  get_outputs_label()
#> [1] "Unmapped reads"                 "Transcript abundance estimates"
#> [3] "Gene abundance estimates"       "Mapping info"                  
#> [5] "Bootstrap data"                 "Equivalence classes"           
#> [7] "Transcript Expression Matrix"   "Gene Expression Matrix"        
#> [9] "Salmon Quant archive"