Get protocol mappings defined within a pipeline interface

getProtocolMappings(.Object)

# S4 method for Config
getProtocolMappings(.Object)

Arguments

.Object

a pipeline interface, an object of Config-class

Value

a named list, where the names of the elements are the protocols and the elements names of the pipelines

Methods (by class)

  • Config: extracts protocol mappings from a pipeline interface

Examples

projectConfig = system.file("extdata", "example_peps-master", "example_piface", "project_config.yaml", package = "BiocProject") p = Project(file = projectConfig)
#> Loaded config file: /Users/mstolarczyk/Uczelnia/UVA/code/BiocProject/inst/extdata/example_peps-master/example_piface/project_config.yaml
pifaces = getPipelineInterfaces(p) getProtocolMappings(pifaces[[1]])
#> $PROTO1 #> [1] "pipeline1.py" #> #> $PROTO2 #> [1] "pipeline2.py" #>