getWidgets {InterMineR} | R Documentation

## Get the widgets of InterMine

### Description

Returns a representation of the available widgets for the mine. Each entry for the widget includes details of its type, the kind of data it processes, and any filters it accepts.

### Usage

    getWidgets(im)

### Arguments

`im` | a list containing the base URL and API token.

### Value

A data.frame containing information about the widgets that are available for each mine.

### Note

The names of the widgets of the enrichment type can be passed as arguments to `doEnrichment` function.

### Author(s)

InterMine Team

### See Also

`getGeneIds`, `doEnrichment`

### Examples

    # Get available FlyMine widgets
    FlyMine.widgets <- getWidgets(im = initInterMine(mine = listMines()["FlyMine"]))
    # Get available HumanMine widgets
    HumanMine.widgets <- getWidgets(im = initInterMine(mine = listMines()["HumanMine"]))

[Package InterMineR version 1.4.1 Index]