R/bf_cmd.R

Defines functions bf_cmd

Documented in bf_cmd

#' Get Path of BioFormat Command
#'
#' @param cmd Bioformat command
#'
#' @return A character string
#' @export
#'
#' @examples
#' bf_cmd("bfconvert")
bf_cmd = function(cmd) {
  cmd = system.file("bftools", cmd, package = "bftools")
  stopifnot(file.exists(cmd))
  return(cmd)
}
neuroconductor/bftools documentation built on Feb. 7, 2023, 12:52 a.m.