R/contrast_io.R
read_contrast_results.RdReads 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.
read_contrast_results(path)list with elements:
data.frame with contrast results including species and TP columns
list parsed from metadata.yaml
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()
if (FALSE) { # \dontrun{
res <- read_contrast_results("/tmp/ionstar_lm")
head(res$data)
res$metadata$method
} # }