DEPRECATED: use searchBeid and geneIDsToAllScopes instead. This function is meant to be used with searchId in order to implement a dictonary of identifiers of interest. First the searchId function is used to search a term. Then the getRelevantIds function is used to find the corresponding IDs in a context of interest.
getRelevantIds(
d,
selected = 1,
be = c(listBe(), "Probe"),
source,
organism,
restricted = TRUE,
simplify = TRUE,
verbose = FALSE
)
The d data.frame with a new column providing the relevant ID
in the context of interest and without the gene field.
Scope ("be", "source" and "organism") is provided as a named list
in the "scope" attributes: attr(x, "scope")
the data.frame returned by searchId.
the rows of interest in d
the BE in the context of interest
the source of the identifier in the context of interest
the organism in the context of interest
boolean indicating if the results should be restricted to current version of to BEID db. If FALSE former BEID are also returned: Depending on history it can take a very long time to return a very large result!
if TRUE (default) duplicated IDs are removed from the output
if TRUE, the CQL query is shown
searchId