queryMany {mygene} | R Documentation |
This is a wrapper for POST query of "/query" service.
queryMany(qterms, scopes=NULL, ..., return.as=c("DataFrame", "records", "text"), mygene)
qterms |
A vector or list, or string of comma-separated query terms |
scopes |
Type of types of identifiers, either a list or a comma-separated fields to specify type of input qterms, e.g. c("reporter", "ensembl.gene", "symbol") refer to "http://mygene.info/doc/query_service.html#available_fields" for full list of fields. |
... |
Commonly queried fields include |
return.as |
"DataFrame" (default), "records" (list), "text" (JSON). |
mygene |
A MyGene object that describes how to connect to data resources. See |
returns a gene object (DataFrame, list, or JSON text) containing the queried annotations
Ref: http://docs.mygene.info/en/latest/doc/query_service.html
## return the batch query result queryMany(c('1053_at', '117_at', '121_at'), scopes="reporter", fields="ensembl.gene", species="human", return.as="records") queryMany(c('1053_at', '117_at', '121_at'), scopes="reporter", species=9606) queryMany(c('DDX26B', 'CCDC83', 'MAST3', 'FLOT1'), scopes="symbol", fields="entrezgene", species="human")