getXref-CellBaseR-method: getXref

getXref,CellBaseR-methodR Documentation

getXref

Description

A method to query cross reference data from Cellbase web services.

Usage

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

Arguments

object

an object of class CellBaseR

ids

a character vector of the ids to be queried, any crossrefereable ID, gene names, transcript ids, uniprot ids,etc.

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 cross references for genomic identifiers, eg ENSEMBL ids, it also provide starts_with service that is useful for autocomplete services.

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()
   res <- getXref(object=cb, ids="ENST00000373644", resource="xref")

melsiddieg/cellbaseR documentation built on Jan. 16, 2024, 4:12 a.m.