getTf,CellBaseR-method {cellbaseR} | R Documentation |
A method to query transcription factors binding sites data from Cellbase web services.
## S4 method for signature 'CellBaseR' getTf(object, ids, resource, param = NULL)
object |
an object of class CellBaseR |
ids |
a character vector of the ids to be queried, must be a valid transcription factor name, for example, eg, CTCF |
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 various transcription factors binding sites 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() param <- CellBaseParam(limit = 12) res <- getTf(object=cb, ids="CTCF", resource="tfbs", param=param)