getInputTypes: Get the list of available input types for a given tool.

Description Usage Arguments Details Value Author(s) Examples

View source: R/ENVISIONQuery.R

Description

Get the list of available input types for a given tool.

Usage

1
getInputTypes(tool, inputType="menu")

Arguments

tool

The tool handler

inputType

Either 'menu' or a valid input type. Default is 'menu'.

Details

The input types could be subdivided into the following three groups: 1. The list of IDs (types 'Uniprot ID', 'Affymetrix ID', 'Enquant ID' and 'Protein ID'). 2. The character string representing the enfinXML document ('Enfin XML') and 3. The name of the file containing the enfinXML document. The types belonging to the groups 2 and 3 can be used to construct a pipeline of queries, where the output of the given query can be used as an input for the next one

Value

If inputType is 'all', the character vector of all available input types. If inputType is valid input type, the inputType value returned, otherwise returns NULL.

Author(s)

Alex Lisovich, Roger Day

Examples

1
2
3
4
5
#check available input type for a given tool

service<-getService("Reactome");
tool<-getTool(service,"FindPathAdv");
getInputTypes(tool);

ENVISIONQuery documentation built on Nov. 8, 2020, 5:25 p.m.