Description Usage Arguments Details Value Methods (by class) Examples
getGeneSummary
populates and returns a vector of gene
objects
with information sourced from a series of html requests to the NIH and
Uniport publicly available databases.
1 2 3 4 | getGeneSummary(x)
## S4 method for signature 'geneanno'
getGeneSummary(x)
|
x |
object of class |
Information returned from a database requests is parsed into a gene
object, which are saved in a 'genes' subdirectory of the working directory.
Each gene
object is added to a vector of objects, which is then
returned.
Where gene information has previously been downloaded and objects saved
(within the last seven days), gene
objects are repopulated from the
saved files so as to minimise server traffic.
N.B. the function includes a random wait (of up to 5s) between each
gene downloaded.
N.B. It is possible to define an alternative directory using
slot(geneanno,"fileroot") <- "/path/to/directory"
vector of gene
objects, each containing the collated data
from the public resources.
geneanno
: Produces a vector of gene
objects, each
containing the collated data from the public resources.
1 2 3 | query <- matrix(c("Axitinib","BRAF","Imatinib","BRAF"),ncol=2,byrow=TRUE)
g <- getUniqueGeneList(geneanno(),query)
gs <- getGeneSummary(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.