Description Usage Arguments Value Examples
These functions generate suitable batch file specifications and run them
using sbe_run_batch()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# 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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.