getProtein-CellBaseR-method: getProtein

Description Usage Arguments Details Value Examples

Description

A method to query protein data from Cellbase web services.

Usage

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

Arguments

object

an object of class CellBaseR

ids

a character vector of uniprot ids to be queried, should be one or more of uniprot ids, for example O15350.

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 protein annotations including protein description, features, sequence, substitution scores, evidence, etc.

Value

an object of class CellBaseResponse which holds a dataframe with th e results of the query

Examples

1
2
   cb <- CellBaseR()
   res <- getProtein(object=cb, ids="O15350", resource="info")

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