InterMineR-methods {InterMineR} | R Documentation

## Methods for accessing `InterMineR-class` objects.

### Description

InterMineR constitutes a class used to store the information which are required for performing a query for biological data in an InterMine instance. The methods for accessing the slots of an InterMineR-class object are presented here.

### Methods

Class-specific methods:

`getName(InterMineR-class)`:

  Access the name slot of `InterMineR-class` object.

`getDescription(InterMineR-class)`:

  Access the description slot of `InterMineR-class` object.

`getSelect(InterMineR-class)`:

  Access the select slot of `InterMineR-class` object.

`getOrderBy(InterMineR-class)`:

  Access the orderBy slot of `InterMineR-class` object.

`getWhere(InterMineR-class)`:

  Access the where slot of `InterMineR-class` object.

### Author(s)

InterMine Team

### See Also

`setConstraints`, `setQuery`, `InterMineR-class`

### Examples

    # get mine instance
    im.fly = initInterMine(listMines()["FlyMine"])

    # get GO_Gene template query
    qGO_Gene = getTemplateQuery(im.fly, "GO_Gene")

    # create 'InterMineR' object
    go.query = setQuery(
      inheritQuery = qGO_Gene
    )

    class(go.query)

    # access name:
    getName(go.query)

    # access description:
    getDescription(go.query)

    # access select:
    getSelect(go.query)

    # access orderBy:
    getOrderBy(go.query)

    # access where:
    getWhere(go.query)

[Package InterMineR version 1.8.1 Index]