getTf,CellBaseR-method {cellbaseR}R Documentation

getTf

Description

A method to query transcription factors binding sites data from Cellbase web services.

Usage

## S4 method for signature 'CellBaseR'
getTf(object, ids, resource, param = NULL)

Arguments

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

Details

This method retrieves various transcription factors binding sites data

Value

a dataframe with the results of the query

See Also

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

Examples

   cb <- CellBaseR()
   param <- CellBaseParam(limit = 12)
   res <- getTf(object=cb, ids="CTCF", resource="tfbs", param=param)

[Package cellbaseR version 1.8.1 Index]