Description Usage Arguments Value Author(s) Examples
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.
1 | getTemplates(im, format = "data.frame", timeout = 3)
|
im |
a Service object containing the base URL and API token, created by |
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. |
a data.frame or list object, representing the information (name and title) for the pre-define templates in the mine.
InterMine Team
1 2 3 4 | # Get HumanMine template queries
im <- initInterMine(listMines()["HumanMine"])
templates <- getTemplates(im)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.