View source: R/CellBaseR-methods.R
CellBaseR | R Documentation |
This is a constructor function for the CellBaseR object
CellBaseR(
host = "https://ws.zettagenomics.com/cellbase/webservices/rest/",
version = "v5",
species = "hsapiens",
batch_size = 200L,
num_threads = 8L
)
host |
A character the default host url for cellbase webservices, e.g. "http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/" |
version |
A character the cellbae API version, e.g. "V4" |
species |
a character specifying the species to be queried, e.g. "hsapiens" |
batch_size |
intger if multiple queries are raised by a single method call, e.g. getting annotation info for several genes, queries will be sent to the server in batches.This slot indicates the size of each batch,e.g. 200 |
num_threads |
integer number of batches to be sent to the server |
CellbaseR constructor function
This class defines the CellBaseR object. It holds the default configuration required by CellBaseR methods to connect to the cellbase web services. By defult it is configured to query human data based on the GRCh37 genome assembly.
An object of class CellBaseR
https://github.com/opencb/cellbase/wiki and the RESTful API documentation http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/
cb <- CellBaseR()
print(cb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.