readPipelineResults: readPipelineResults

Description Usage Arguments Value Examples

View source: R/aggregation.R

Description

readPipelineResults

Usage

1
readPipelineResults(path = NULL, resfiles = NULL)

Arguments

path

The path (e.g. folder or prefix) to the results. Either 'path' or 'resfiles' should be given.

resfiles

A vector of paths to '*.evaluation.rds' files. Either 'path' or 'resfiles' should be given.

Value

A list of results.

Examples

1
2
3
4
5
6
7
8
# we produce mock pipeline results:
pip <- mockPipeline()
datasets <- list( ds1=1:3, ds2=c(5,10,15) )
tmpdir1 <- paste0(tempdir(),'/')
res <- runPipeline(datasets, pipelineDef=pip, output.prefix=tmpdir1,
                   alternatives=list() )
# we read the evaluation files:
res <- readPipelineResults(tmpdir1)

pipeComp documentation built on Nov. 8, 2020, 7:35 p.m.