
Last chance! 50% off unlimited learning
Sale ends in
Function to generate tools path object
set_tools(config.file = "", config.list = list(), config.vec = c(),
eval.params = list())
Path of tools configuration file (json, ini, yaml and toml be supported)
List object of tools that all of tools path (exclude those without names).
Vector object of tools that all of tools path (exclude those without names).
Params pass to configr::eval.config
List object contain the tools path that can be used by other function in ngstk package
# NOT RUN {
config.file <- system.file('extdata', 'demo/tools_config.json', package = 'ngstk')
config.list <- list(gatk = '/path/gatk')
config.vec <- c('/path/samtools')
names(config.vec) <- 'samtools'
tools <- set_tools(config.file, config.list, config.vec,
eval.params = list(config = 'tools'))
# }
Run the code above in your browser using DataLab