outputsByProtocols.Rd
Returns the pipeline outputs which are defined in the pipeline interface
indicated in the Project-class
outputsByProtocols(project, ...) # S4 method for Project outputsByProtocols(project, protocolNames = NULL)
project |
|
---|---|
... | other arguments passed to methods |
protocolNames | char vector of protocol names to match the pipelines and return their outputs |
a list of output file paths. The order of the first level of the list corresponds to the order of the pipeline interface files, second level order (named) reflects the pipelines within the files, the last level is a named list of file paths populated by the samples
Project
: extracts pipeline outputs for a given protocol or set of protocols
projectConfig = system.file("extdata", "example_peps-master", "example_piface", "project_config.yaml", package = "BiocProject") p = Project(file = projectConfig)#>outputsByProtocols(p, "PROTO2")#> [[1]] #> [[1]]$PROTO2 #> [[1]]$PROTO2$pipeline2.py #> [[1]]$PROTO2$pipeline2.py$output1 #> [[1]]$PROTO2$pipeline2.py$output1$sample3 #> [1] "/Users/mstolarczyk/Uczelnia/UVA/code/BiocProject/inst/extdata/example_peps-master/example_piface/../output/results_pipeline/sample3//pipeline2/sample3_GSM2471249_1.bw" #> #> #> [[1]]$PROTO2$pipeline2.py$output2 #> [[1]]$PROTO2$pipeline2.py$output2$sample3 #> [1] "/Users/mstolarczyk/Uczelnia/UVA/code/BiocProject/inst/extdata/example_peps-master/example_piface/../output/results_pipeline/sample3//pipeline2/sample3_GSM2471249_2.bw" #> #> #> #> #> #> [[2]] #> [[2]]$PROTO2 #> [[2]]$PROTO2$other_pipeline2.py #> [[2]]$PROTO2$other_pipeline2.py$output1 #> [[2]]$PROTO2$other_pipeline2.py$output1$sample3 #> [1] "/Users/mstolarczyk/Uczelnia/UVA/code/BiocProject/inst/extdata/example_peps-master/example_piface/../output/results_pipeline/sample3//other_pipeline2/sample3_GSM2471249_1.bw" #> #> #> [[2]]$PROTO2$other_pipeline2.py$output2 #> [[2]]$PROTO2$other_pipeline2.py$output2$sample3 #> [1] "/Users/mstolarczyk/Uczelnia/UVA/code/BiocProject/inst/extdata/example_peps-master/example_piface/../output/results_pipeline/sample3//other_pipeline2/sample3_GSM2471249_2.bw" #> #> #> #> #>