R/OmicSelector_get_benchmark.R

Defines functions OmicSelector_get_benchmark

Documented in OmicSelector_get_benchmark

#' OmicSelector_get_benchmark
#'
#' Load benchmark results from csv file.
#'
#' @param benchmark_csv Path to csv file.
#' @return Benchmark data frame.
#'
#' @export
OmicSelector_get_benchmark = function(benchmark_csv = "benchmark1578929876.21765.csv"){
  benchmark = read.csv(benchmark_csv, stringsAsFactors = F)
  rownames(benchmark) = make.names(benchmark$method, unique = T)
  benchmark$method = rownames(benchmark)
  return(benchmark)
}
kstawiski/OmicSelector documentation built on April 10, 2024, 11:11 p.m.