CellBaseR: CellBaseR

Description Usage Arguments Details Value See Also Examples

View source: R/CellBaseR-methods.R

Description

This is a constructor function for the CellBaseR object

Usage

1
2
3
  CellBaseR(host = "http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/rest/",
  version = "v4", species = "hsapiens", batch_size = 200L,
  num_threads = 8L)

Arguments

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

Details

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.

Value

An object of class CellBaseR

See Also

https://github.com/opencb/cellbase/wiki and the RESTful API documentation http://bioinfo.hpc.cam.ac.uk/cellbase/webservices/

Examples

1
2
   cb <- CellBaseR()
   print(cb)

cellbaseR documentation built on Nov. 8, 2020, 5:38 p.m.