Learn R Programming

ungeneanno (version 0.1.6)

getNihQuery: create initial NIH Query

Description

getNihQuery contacts the NIH E-utilities and carries out an initial data query. Accessing the NCBI NIH databases is a two stage process; the getNihQuery function carries out the first stage, returning a short list of IDs and a unique query key. This Query key is then used in the second stage to fetch the results of the query.

Usage

getNihQuery(x, db, query)
"getNihQuery"(x, db, query)

Arguments

x
query object.
db
The name of the NCBI database to be searched for the query, e.g. "gene" or "pubmed"
query
The query string for the database

Value

query object a copy of the input object 'x', having the query specifiers from NIH added.

Methods (by class)

  • query: query object a copy of the input object 'x', having the query specifiers from NIH added.

See Also

http://www.ncbi.nlm.nih.gov/books/NBK25500/

Examples

Run this code
## Not run: 
# f <- query()
# f@gene <- "BRAF"
# db <- "gene"
# f <- getNihQuery(f,db,f@gene)
# gene <- getNihSummary(gene(),f)
# ## End(Not run)

Run the code above in your browser using DataLab