as_pipeline_list {CellBench} | R Documentation

## convert benchmark_tbl to list

### Description

convert a benchmark_tbl to a list where the name of the elements represent the pipeline steps separated by "..". This can be useful for using the apply family of functions.

### Usage

    as_pipeline_list(x)

### Arguments

`x` | the benchmark_tbl object to convert

### Value

list containing the results with names set to data and pipeline steps separated by ..

### See Also

`pipeline_collapse`

### Examples

    # list of data
    datasets <- list(
        set1 = rnorm(500, mean = 2, sd = 1),
        set2 = rnorm(500, mean = 1, sd = 2)
    )

    # list of functions
    add_noise <- list(
        none = identity,
        add_bias = function(x) { x + 1 }
    )

    res <- apply_methods(datasets, add_noise)
    as_pipeline_list(res)

[Package CellBench version 1.0.1 Index]