getTemplates: Get the information (name and title) of the templates...

Description Usage Arguments Value Author(s) Examples

View source: R/queries.R

Description

Get the information (name and title) of the templates pre-defined in InterMine. A template contain a query with fixed set of output columns, and at least one editable constraint, and possibly more.

Usage

1
getTemplates(im, format = "data.frame", timeout = 3)

Arguments

im

a list, containing the base URL and API token.

format

a string with values being either "data.frame" or "list", representing the output format of the template information.

timeout

an integer, representing the number of seconds to wait for the webservice to respond.

Value

a data.frame or list object, representing the information (name and title) for the pre-define templates in the mine.

Author(s)

InterMine Team

Examples

1
2
3
4
# Get HumanMine template queries
im <- initInterMine(listMines()["HumanMine"])

templates <- getTemplates(im)

InterMineR documentation built on Nov. 8, 2020, 5:58 p.m.