# Create a new query
Pax6List = newQuery(
#here we're choosing which columns of data we'd like to see
view = c("Gene.primaryIdentifier",
"Gene.symbol"),
sortOrder = list("Gene.primaryIdentifier", "ASC"))
# Make a constraint:
listConstraint = setConstraints(
paths = c("Gene"),
operators = c("IN"),
values = list("PL_Pax6_Targets")
)
# Add the constraint to the query
Pax6List$where <- listConstraint
Note that there are too many spaces in sortOrder. The space space BEFORE Gene.primaryIdentifier is ignored, but there is also a double space betweenGene.primaryIdentifier and ASC. This causes the InterMine server to throw a 400 error when it is run.
This R code
generates this XML:
Note that there are too many spaces in
sortOrder
. The space space BEFOREGene.primaryIdentifier
is ignored, but there is also a double space betweenGene.primaryIdentifier
andASC
. This causes the InterMine server to throw a 400 error when it is run.