getProtein,CellBaseR-method | R Documentation |
A method to query protein data from Cellbase web services.
## S4 method for signature 'CellBaseR'
getProtein(object, ids, resource, param = NULL)
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 |
This method retrieves various protein annotations including protein description, features, sequence, substitution scores, evidence, etc.
an object of class CellBaseResponse which holds a dataframe with th e results of the query
cb <- CellBaseR()
res <- getProtein(object=cb, ids="O15350", resource="info")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.