getTool: Get the tool handler of a given service using the tool...

Description Usage Arguments Value Author(s) Examples

View source: R/ENVISIONQuery.R

Description

Get the tool handler of a given service using the tool name

Usage

1
getTool(service,toolName="menu",selection.title="Select Tool", graphicMenu=getOption("menu.graphics"))

Arguments

service

Service handler

toolName

The name of Envision service tool handler to be retrieved. If equal to "menu" (default) and the number of tools is greater than 1 menu is contructed allowing to choose one of the available services.

selection.title

The selection list title. Default is 'Select Tool'.

graphicMenu

If TRUE (default is FALSE), use a GUI window for the pick menus.

Value

the Envision service tool handler.

Author(s)

Alex Lisovich, Roger Day

Examples

1
2
3
4
5
6
#get the tool handler for 'mapProteinsAdv' tool in 'Picr' service

try({ service<-getService("Picr");
  getToolNames(service);
  tool<-getTool(service,"mapProteinsAdv");
})

ENVISIONQuery documentation built on May 2, 2018, 3:17 a.m.