Skip to main content

Read contrast results from standardized file format

Description

Reads contrasts.tsv and metadata.yaml from the specified directory. Applies ground truth annotation (species and TP columns) based on the ground_truth specification in metadata.yaml.

Usage

read_contrast_results(path)

Arguments

path directory containing contrasts.tsv and metadata.yaml

Value

list with elements:

data
data.frame with contrast results including species and TP columns
metadata
list parsed from metadata.yaml

See Also

Other benchmarking: Benchmark, benchmark_from_file(), 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(), write_benchmark_results(), write_contrast_results()

Examples

library("prolfquabenchmark")

res <- read_contrast_results("/tmp/ionstar_lm")
head(res$data)
res$metadata$method