as_pipeline_list {CellBench} | R Documentation |
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.
as_pipeline_list(x)
x |
the benchmark_tbl object to convert |
list containing the results with names set to data and pipeline steps separated by ..
# 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)