search_iptmnet: Search iPTMNet

Description Usage Arguments Value Examples

View source: R/api.R

Description

Searches the iPTMNet database with the given search parameters

Usage

1
2
search_iptmnet(search_term, term_type, role, ptm_vector = c(),
  organism_vector = c())

Arguments

search_term

A string representing the search Term

term_type

A string specifying type of search term. Supported values are "All", "UniprotID", "Protein/Gene Name","PMID". Use the TermType function for getting a list of possible values.

role

A string representing the roles to filter by. Supported Values are "Enzyme or Substrate", "Enzyme", "Substrate","Enzyme and Substrate". Use the Role function for getting a list of possible values. Example - TermType()$.UniProtID

ptm_vector

A vector representing the PTM types to filter by. Use the PTMTypes function for getting a list of possible values. Pass empty vector if you don't want filter by PTMTypes. Example - c(PTMType()$Acetylation,PTMType()$Phosphorylation)

organism_vector

A vector of integers representing the taxon codes for organisms to filter by.

Value

A dataframe with search results.

Examples

1
2
3
4
5
result <- search_iptmnet(search_term = "smad2",
                                        term_type=TermType()$ALL,
                                        Role()$EnzymeOrSubstrate,
                                        ptm_vector=c(),
                                        organism_vector=c())

iptmnetr documentation built on Dec. 5, 2019, 5:09 p.m.