intermine / intermine/InterMineR

constructing a new query

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
18
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I am using intermineR to query the TargetMine. Following the instructions in the intermineR.pdf and manual page I should be able to get a query template using `getTemplateQuery` or construct a new query using `newQuery`, in either cases the documentations say there should be at least three items in each query. These are `view`, `constrains` and `constrainLogic`.

Using the function `names` on the output object from `getTemplateQuery` gives:
"model" "title" "description" "select" "name" "comment" "tags" "orderBy" "where"

Using the function `args` on the function `newQuery` gives:
function (name = "", view = character(), sortOrder = "", longDescription = "", constraintLogic = NULL)

I tried modifying the slot `where` of the query object, as explained for the item `constrain` however as a list not as a matrix and it works for a single `value` only.

There might be some changes in the query scheme that I am not aware of or doesn't show in the documentation yet.

I am using R (3.3.2 (2016-10-31) on x86_64-apple-darwin13.4.0 (64-bit) running on macOS Sierra 10.12.2. Both intermineR and bioconductor are the last releases; InterMineR_0.99.4 Biobase_2.34.0.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.