Skip to main content

Create a Benchmark object from a contrast result directory

Description

Convenience factory that reads a contrast result directory (contrasts.tsv + metadata.yaml), applies ground truth annotation, and creates a Benchmark R6 object.

Usage

benchmark_from_file(path, ...)

Arguments

path directory containing contrasts.tsv and metadata.yaml
… additional arguments passed to make_benchmark

Value

Benchmark R6 object

See Also

Other benchmarking: Benchmark, benchmark_from_result(), collect_benchmark_results(), ionstar_bench_preprocess(), make_benchmark(), ms_bench_add_scores(), ms_bench_ap(), ms_bench_auc(), plot_benchmark_comparison(), read_benchmark_results(), read_contrast_results(), write_benchmark_results(), write_contrast_results()

Examples

library("prolfquabenchmark")

bench <- benchmark_from_file("/tmp/ionstar_lm")
bench$plot_ROC()
bench$pAUC()