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-releases/bftools documentation built on Oct. 30, 2020, 11:06 p.m.