summary: Summarize InterMineR query constraints

Description Usage Arguments Value Author(s) See Also Examples

Description

Summarize the information about the constraints contained by an object of the class InterMineR.

Usage

1
summary(object,...)

Arguments

object

an object of the class InterMineR.

...

additional arguments affecting the summary produced.

Value

a data.frame containing the constraints of the InterMineR object as rows. Each constraint is constituted by a path, an operator and one or more values. Multiple values are returned as a comma-separated character string.

Author(s)

InterMine Team

See Also

InterMineR-class, setQuery

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# get FlyMine instance
im.fly = initInterMine(listMines()["FlyMine"])

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

# modify GO_Gene template query to have more than one GO values
go.constraints = setConstraints(
  values = list(c("DNA repair", "cellular response to DNA damage stimulus")),
  modifyQueryConstraints = qGO_Gene,
  m.index = 3
)

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

# get InterMineR constraint summary
summary(go.query)

intermine/rintermine documentation built on Jan. 10, 2022, 4:24 p.m.