getGene,CellBaseR-method | R Documentation |
A method to query gene data from Cellbase web services.
## S4 method for signature 'CellBaseR'
getGene(object, ids, resource, param = NULL)
object |
an object of class CellBaseR |
ids |
a character vector of gene ids to be queried |
resource |
a character vector to specify the resource to be queried |
param |
an object of class CellBaseParam specifying additional param for the CellBaseR |
This method retrieves various gene annotations including transcripts and exons data as well as gene expression and clinical data
a dataframe with the results of the query
https://github.com/opencb/cellbase/wiki and the RESTful API documentation http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/
cb <- CellBaseR()
res <- getGene(object=cb, ids=c("TP73","TET1"), resource="info")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.