Description Usage Arguments Value Examples
This function checks that all the external dependencies required for
secertome prediction pipelines are available and can sucessfully pass test
runs.
All the external dependencies can be made accessible via $PATH environment
variable; alternatively a text file the with full paths to all the external
dependencies should be provided.
For the instalation instructions please see SecretSanta vignette.
1 2 |
in_path |
if TRUE manage_paths will attempt to run
external dependencies, assuming that respective paths are attached to the
$PATH variable; |
test_tool |
if all - all the external dependencies will be
checked; |
path_file |
full paths to external dependencies in a
2-column space-separated text file; |
a list of length 3 with the following elements:
tests TRUE if all the exteranl dependencies are working;
in_path TRUE if the dependecies are accessible via $PATH; FALSE - if paths are provided with the path_file argument;
path_tibble a tibble with verified names and paths for
external dependencies;
NA if in_path is TRUE;
if a specific tool is tested, a singualr path will be returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Example1:
# here we assume that paths to all the
# external dependencies are attached to
# the $PATH variable:
manage_paths(in_path = TRUE, test_tool = 'all')
# to test just a single tool:
manage_paths(in_path = TRUE, test_tool = 'signalp2')
# Example2:
# alternatively, we are in a situation
# when changing $PATH is not possible,
# so we supply a file with listed full
# paths to the external dependencies:
manage_paths(in_path = FALSE,
test_tool = 'all',
path_file = system.file("extdata", "sample_paths", package = "SecretSanta"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.