Description Usage Arguments Details Value See Also Examples
A method to query variant annotation data from Cellbase web services from Cellbase web services.
1 2 | ## S4 method for signature 'CellBaseR'
getVariant(object, ids, resource, param = NULL)
|
object |
an object of class CellBaseR |
ids |
a character vector of the ids to be queried, must be in the following format 'chr:start:ref:alt', for example, '1:128546:A:T' |
resource |
a character vector to specify the resource to be queried |
param |
a object of class CellBaseParam specifying additional param for the query |
This method retrieves extensive genomic annotations for variants including consequence types, conservation data, population frequncies from 1k genomes and Exac projects, etc. as well as clinical data and various other annotations
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/
1 2 | cb <- CellBaseR()
res <- getVariant(object=cb, ids="19:45411941:T:C", resource="annotation")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.