Skip to contents

Safely get toolbox tool names instead of using direct @ access.

Usage

sn_get_toolbox_tools(toolbox)

Arguments

toolbox

Toolbox object

Value

Character. Available tool names

Examples

if (FALSE) { # \dontrun{
# Instead of: names(toolbox@tools)
tools <- sn_get_toolbox_tools(toolbox)
if ("samtools" %in% tools) {
  # Samtools is available in toolbox
}
} # }