getProtein-CellBaseR-method: getProtein

getProtein,CellBaseR-methodR Documentation

getProtein

Description

A method to query protein data from Cellbase web services.

Usage

## 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

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

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