These functions generate suitable batch file specifications and run them
using sbe_run_batch()
.
sbe_run_tool( tool, psa, input = NULL, con = NULL, output = sbe_temp_dir(), quiet = FALSE ) sbe_psa_default(tool) sbe_temp_dir() is_sbe_temp_dir(path)
tool | A vector of tool names. Currently supported names are alignctd, binavg, celltm, datcnv, derive, deriveteos_10, filter, loopedit, and wildedit. |
---|---|
psa | A vector of configuration files. See |
input | A vector of input files. This can include the wildcard |
con | A vector of .con or .xmlcon files, recycled along |
output | An output directory, defaulting to |
quiet | Use |
path | A valid path in R. |
The output
directory.
if (FALSE) { # only works if SeaSoft has been installed faroe_dir <- system.file("extdata/faroe", package = "sbe") out_dir <- sbe_run_tool( "datcnv", psa = file.path(faroe_dir, "faroe.psa"), input = file.path(faroe_dir, "faroe.dat"), con = file.path(faroe_dir, "faroe.con") ) out_sbe_cnv <- list.files(out_dir, full.names = TRUE) read_sbe_cnv(out_sbe_cnv) }