Fields to return, a list of a comma-sep string. If fields=="all", all available fields are returned.
...
Includes species as well as several other fields.
View available fields by calling ?metadata.
Also, see http://docs.mygene.info/en/latest/doc/annotation_service.html for complete argument details and syntax.
return.as
"records"" (list), "text" (JSON).
mygene
A MyGene object that describes how to connect to data resources. See MyGene-class. If missing, default object will be used that accesses the main MyGene.info portal. Default is recommended.
## return the gene object for the given gene idgetGene(1017)
## customize fieldsgetGene(1017, fields=c("name", "symbol", "refseq"), return.as="text")
## all fieldsgetGene(1017, fields="all")