Package 'rbioapi'

Title: User-Friendly R Interface to Biologic Web Services' API
Description: Currently fully supports Enrichr, JASPAR, miEAA, PANTHER, Reactome, STRING, and UniProt! The goal of rbioapi is to provide a user-friendly and consistent interface to biological databases and services. In a way that insulates the user from the technicalities of using web services API and creates a unified and easy-to-use interface to biological and medical web services. This is an ongoing project; New databases and services will be added periodically. Feel free to suggest any databases or services you often use.
Authors: Moosa Rezwani [aut, cre] (ORCID: <https://orcid.org/0000-0001-6325-4444>)
Maintainer: Moosa Rezwani <[email protected]>
License: GPL-3
Version: 0.8.3.9000
Built: 2026-10-17 22:52:31 UTC
Source: https://github.com/moosa-r/rbioapi

Help Index


Test if the Supported Services Are Responding

Description

Run this function to test the internet connectivity of your device and the current status of the supported Services.

Usage

rba_connection_test(print_output = TRUE, diagnostics = FALSE)

Arguments

print_output

Logical: (default = TRUE) Send the tests' output to the console?

diagnostics

Logical: (default = FALSE) Show diagnostics and detailed messages with internal information.

Details

This function attempts to send a simple query to the supported services. If the service successfully responded, you will be informed with a success message; If not, the content of the error will be reported to you.
Please run this function if you encounter any errors while using rbioapi. Also, if you need to contact support, kindly call this function with 'diagnostic = TRUE' and include the output messages in your support request.

Value

Connection test for the supported servers will be displayed in console and the results will be invisibly returned as a list.

See Also

Other "Helper functions": rba_metadata(), rba_options(), rba_pages()

Examples

rba_connection_test()

A One-step Wrapper for Gene-list Enrichment Using Enrichr

Description

This function provides a convenient one-step wrapper for performing enrichment analysis on a given gene list using Enrichr. It simplifies the process by internally calling the necessary functions in the correct order. See the details section for more information.

Usage

rba_enrichr(
  gene_list,
  description = NULL,
  gene_set_library = "all",
  regex_library_name = FALSE,
  organism = "human",
  background_genes = NULL,
  progress_bar = TRUE,
  ...
)

Arguments

gene_list

Character: A vector with Entrez gene symbols of test genes.

description

Character: (optional) A description to be associated with your uploaded gene-set to Enrichr servers.

gene_set_library

Character: (default = "all") One of the:

  1. "all" to select all of the available Enrichr gene-set libraries.

  2. A gene-set library name. You can retrieve the available options for a given species using rba_enrichr_libs.

  3. If regex_library_name = TRUE, A partially-matching name a regex pattern that correspond to one or more of Enrichr library names.

regex_library_name

Logical: (default = FALSE) if TRUE the supplied gene_set_library will be considered as a regex pattern. If FALSE, gene_set_library will be considered as an exact match.

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio).

background_genes

Character: A vector of Entrez gene symbols of the background genes.

progress_bar

Logical: (default = TRUE) if multiple Enrichr libraries are selected, should a progress bar be displayed?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

This function will call other rba_enrichr_*** functions with the following order:

  1. (If necessary) Call rba_enrichr_libs to obtain a list of available libraries in Enrichr for the given organism.

  2. Call rba_enrichr_add_list to upload your gene-list and obtain a 'user list ID'.

  3. (If necessary) Call rba_enrichr_add_background to upload your background gene-list and obtain a 'background list ID'.

  4. Call rba_enrichr_enrich to perform enrichment analysis on the gene-list against one or multiple Enrichr libraries

Value

A list containing data frames of the enrichment results of your supplied gene-list against the selected Enrichr libraries.

Corresponding API Resources

"GET https://maayanlab.cloud/Enrichr/datasetStatistics"
"POST https://maayanlab.cloud/Enrichr/addList"
"POST https://maayanlab.cloud/speedrichr/api/addList"
"POST https://maayanlab.cloud/speedrichr/api/addbackground"
"GET https://maayanlab.cloud/Enrichr/export"
"POST https://maayanlab.cloud/speedrichr/api/backgroundenrich"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

Other "Enrichr": rba_enrichr_add_background(), rba_enrichr_add_list(), rba_enrichr_enrich(), rba_enrichr_gene_map(), rba_enrichr_gene_sets(), rba_enrichr_libs(), rba_enrichr_view_list()

Other "Enrichment/Over-representation": rba_mieaa_enrich(), rba_panther_enrich(), rba_reactome_analysis(), rba_string_enrichment(), rba_string_enrichment_image()

Examples

## Not run: 
rba_enrichr(gene_list = c("TP53", "TNF", "EGFR"))

## End(Not run)

rba_enrichr(gene_list = c("TP53", "TNF", "EGFR"),
    gene_set_library = "GO_Molecular_Function_2025",
    regex_library_name = FALSE)


rba_enrichr(gene_list = c("TP53", "TNF", "EGFR"),
    gene_set_library = "^GO_Molecular_Function_(2025|2026)$",
    regex_library_name = TRUE)

Upload Background Gene-List to Enrichr

Description

In addition to the main gene list, you can also submit a background gene list to Enrichr. This gene list can be used later to compute the statistics of the enrichment analysis.

Usage

rba_enrichr_add_background(background_genes, ...)

Arguments

background_genes

Character: A vector of Entrez gene symbols of the background genes.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Please note that rba_enrichr provides a one-step and more convenient way to automatically handle this and other required function calls needed to perform gene set enrichment analysis with Enrichr.

Value

A list with the unique IDs for your uploaded background gene list.

Corresponding API Resources

"POST https://maayanlab.cloud/speedrichr/api/addbackground"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

rba_enrichr

Other "Enrichr": rba_enrichr(), rba_enrichr_add_list(), rba_enrichr_enrich(), rba_enrichr_gene_map(), rba_enrichr_gene_sets(), rba_enrichr_libs(), rba_enrichr_view_list()

Examples

my_background_genes <- c(
"NSUN3", "POLRMT", "NLRX1", "SFXN5", "ZC3H12C", "SLC25A39", "ARSG",
"DEFB29", "PCMTD2", "ACAA1A", "LRRC1", "2810432D09RIK", "SEPHS2",
"SAC3D1", "TMLHE", "LOC623451", "TSR2", "PLEKHA7", "GYS2", "ARHGEF12",
"HIBCH", "LYRM2", "ZBTB44", "ENTPD5", "RAB11FIP2", "LIPT1",
"INTU", "ANXA13", "KLF12", "SAT2", "GAL3ST2", "VAMP8", "FKBPL",
"AQP11", "TRAP1", "PMPCB", "TM7SF3", "RBM39", "BRI3", "KDR", "ZFP748",
"NAP1L1", "DHRS1", "LRRC56", "WDR20A", "STXBP2", "KLF1", "UFC1",
"CCDC16", "9230114K14RIK", "RWDD3", "2610528K11RIK")

rba_enrichr_add_background(background_genes = my_background_genes)

Upload Your Gene-List to Enrichr

Description

This function uploads your gene list to Enrichr and retrieves a unique 'user list ID' required for performing enrichment analysis.

Usage

rba_enrichr_add_list(
  gene_list,
  description = NULL,
  organism = "human",
  speedrichr = FALSE,
  ...
)

Arguments

gene_list

Character: A vector with Entrez gene symbols of test genes.

description

Character: (optional) A description to be associated with your uploaded gene-set to Enrichr servers.

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio).

speedrichr

Logical: (default = FALSE) Set to TRUE if you will use this gene list with a background list; otherwise, set to FALSE. Only available for human libraries. Refer to the details section for more information.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Enrichr uses separate APIs for analysis with or without a background gene list. Set 'speedrichr = TRUE' if this gene list will be used with a background gene list; otherwise, set it to FALSE. Gene lists submitted with 'speedrichr = TRUE' can only be analyzed with a background set, and those submitted with 'speedrichr = FALSE' can only be analyzed without one. Currently, background-based enrichment is supported only for human libraries.

Please note that rba_enrichr provides a one-step and more convenient way to automatically handle this and other required function calls needed to perform gene set enrichment analysis with Enrichr.

Value

A list with the unique IDs for your uploaded gene list. 'userListId' is the ID required for later steps.

Corresponding API Resources

"POST https://maayanlab.cloud/Enrichr/addList"
"POST https://maayanlab.cloud/speedrichr/api/addList"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

rba_enrichr

Other "Enrichr": rba_enrichr(), rba_enrichr_add_background(), rba_enrichr_enrich(), rba_enrichr_gene_map(), rba_enrichr_gene_sets(), rba_enrichr_libs(), rba_enrichr_view_list()

Examples

rba_enrichr_add_list(gene_list = c("TP53", "TNF", "EGFR"),
     description = "tumoral genes",
     speedrichr = FALSE)


rba_enrichr_add_list(gene_list = c("RAG1", "RAG2", "DNTT", "LIG4", "ARTEMIS"),
     description = "TCR rearrangment",
     speedrichr = TRUE)

Get Enrichr Enrichment Results

Description

This function retrieves enrichment analysis results for your supplied 'user_list_id' against one or multiple Enrichr libraries.

Usage

rba_enrichr_enrich(
  user_list_id,
  gene_set_library = "all",
  regex_library_name = FALSE,
  organism = "human",
  background_id = NULL,
  progress_bar = TRUE,
  ...
)

Arguments

user_list_id

Numeric: An ID returned after uploading a gene list using rba_enrichr_add_list, with the 'speedrichr' set to TRUE or FALSE depending on whether you intend to analyze this gene list with or without a background gene list, respectively.

gene_set_library

Character: (default = "all") One of the:

  1. "all" to select all of the available Enrichr gene-set libraries.

  2. A gene-set library name. You can retrieve the available options for a given species using rba_enrichr_libs.

  3. If regex_library_name = TRUE, A partially-matching name a regex pattern that correspond to one or more of Enrichr library names.

regex_library_name

Logical: (default = FALSE) if TRUE the supplied gene_set_library will be considered as a regex pattern. If FALSE, gene_set_library will be considered as an exact match.

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio). If 'background_id' is provided, the only available option is "human".

background_id

Character: (optional) An ID returned after uploading a background gene list using rba_enrichr_add_background

progress_bar

Logical: (default = TRUE) if multiple Enrichr libraries are selected, should a progress bar be displayed?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

If 'background_id' is supplied, this function will interact with the speedrichr API. In this case, 'user_list_id' must have been obtained from a rba_enrichr_add_list call with the 'speedrichr' parameter set to 'TRUE'. Additionally, this feature is only available for "human" organism.

Please note that rba_enrichr provides a one-step and more convenient way to automatically handle this and other required function calls needed to perform gene set enrichment analysis with Enrichr.

Value

A list containing data frames of the enrichment results of your supplied gene-list against the selected Enrichr libraries.

Corresponding API Resources

"GET https://maayanlab.cloud/Enrichr/export"
"POST https://maayanlab.cloud/speedrichr/api/backgroundenrich"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

rba_enrichr

Other "Enrichr": rba_enrichr(), rba_enrichr_add_background(), rba_enrichr_add_list(), rba_enrichr_gene_map(), rba_enrichr_gene_sets(), rba_enrichr_libs(), rba_enrichr_view_list()

Examples

## Not run: 
rba_enrichr_enrich(user_list_id = 11111)

## End(Not run)
## Not run: 
rba_enrichr_enrich(user_list_id = 11111,
    gene_set_library = "GO_Molecular_Function_2017",
    regex_library_name = FALSE)

## End(Not run)
## Not run: 
rba_enrichr_enrich(user_list_id = 11111,
    gene_set_library = "go",
    regex_library_name = TRUE)

## End(Not run)

Find Enrichr Terms That Contain a Given Gene

Description

This function will search the gene and retrieve a list of Enrichr Terms that contains that gene.

Usage

rba_enrichr_gene_map(gene, categorize = FALSE, organism = "human", ...)

Arguments

gene

Character: An Entrez gene symbol.

categorize

Logical: (default = FALSE) Should the category information be included?

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio).

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A nested list containing the search results of your supplied gene.

Corresponding API Resources

"GET https://maayanlab.cloud/Enrichr/genemap"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

Other "Enrichr": rba_enrichr(), rba_enrichr_add_background(), rba_enrichr_add_list(), rba_enrichr_enrich(), rba_enrichr_gene_sets(), rba_enrichr_libs(), rba_enrichr_view_list()

Examples

rba_enrichr_gene_map(gene = "p53")


rba_enrichr_gene_map(gene = "p53", categorize = TRUE)

Retrieve Gene Sets From an Enrichr Library

Description

This function retrieves all gene sets in a given Enrichr library. If a term is supplied, only the gene set associated with that term will be returned.

Usage

rba_enrichr_gene_sets(gene_set_library, term = NULL, organism = "human", ...)

Arguments

gene_set_library

Character: A valid gene-set library name which exists in the results retrieved via rba_enrichr_libs.

term

Character: (optional) An exact Enrichr term name. If left NULL, all gene sets in the supplied library will be returned.

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio).

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

If the available Enrichr library names are not already stored in the "rba_enrichr_libs" global option, this function will retrieve and store them before validating the supplied library name.

Value

A named list of character vectors. Each element name is an Enrichr term and the corresponding character vector contains the genes in that gene set. If the save_file option was set to TRUE or a valid path, the raw GMT file will also be saved to the requested path.

Corresponding API Resources

"GET https://maayanlab.cloud/Enrichr/geneSetLibrary"

Saving Gene Sets as a GMT File

To save the raw server's response as a GMT file, supply the save_file rbioapi option through .... Set it to TRUE to automatically generate a proper file path, or supply a character string with a valid file or directory path. See rba_options's arguments manual for more information on available options. The organism will be included in the automatically-generated file name. If a term is supplied, its name will also be included.

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

rba_enrichr

Other "Enrichr": rba_enrichr(), rba_enrichr_add_background(), rba_enrichr_add_list(), rba_enrichr_enrich(), rba_enrichr_gene_map(), rba_enrichr_libs(), rba_enrichr_view_list()

Examples

rba_enrichr_gene_sets(
    gene_set_library = "Reactome_Pathways_2024",
    term = "Signaling by NOTCH")


rba_enrichr_gene_sets(gene_set_library = "Reactome_Pathways_2024")

## Not run: 
rba_enrichr_gene_sets(
    gene_set_library = "Reactome_Pathways_2024",
    save_file = "Reactome_Pathways_2024.gmt")

## End(Not run)

Retrieve a List of available libraries from Enrichr

Description

This function retrieves a list of libraries available in Enrichr along with their associated statistics. Each library represents a collection of gene sets that can be used for enrichment analysis.

Usage

rba_enrichr_libs(organism = "human", store_in_options = TRUE, ...)

Arguments

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio).

store_in_options

Logical: (default = TRUE) Should a list of available Enrichr libraries be saved as a global option?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

By default, this function will save the library names as a global option ("rba_enrichr_libs") for other Enrichr functions that internally require the names of Enrichr libraries. You should call this function once per R session with the argument 'store_in_options = TRUE' before using rba_enrichr_gene_sets, rba_enrichr or rba_enrichr_enrich. However, if you do not explicitly call it, rbioapi will automatically execute this function in the background the when it is needed.

Please note that rba_enrichr provides a one-step and more convenient way to automatically handle this and other required function calls needed to perform gene set enrichment analysis with Enrichr.

Value

A data frame with the names of available library in Enrichr and their statistics.

Corresponding API Resources

"GET https://maayanlab.cloud/Enrichr/datasetStatistics"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

rba_enrichr

Other "Enrichr": rba_enrichr(), rba_enrichr_add_background(), rba_enrichr_add_list(), rba_enrichr_enrich(), rba_enrichr_gene_map(), rba_enrichr_gene_sets(), rba_enrichr_view_list()

Examples

rba_enrichr_libs()

View an Uploaded Gene List

Description

Retrieve the list of uploaded genes with a given 'user list ID'.

Usage

rba_enrichr_view_list(
  user_list_id,
  organism = "human",
  speedrichr = FALSE,
  ...
)

Arguments

user_list_id

Numeric: a user list ID returned after uploading a gene list using rba_enrichr_add_list

organism

Character: (default = "human") Which model organism version of Enrichr to use? Available options are: "human", (H. sapiens & M. musculus), "fly" (D. melanogaster), "yeast" (S. cerevisiae), "worm" (C. elegans) and "fish" (D. rerio).

speedrichr

Logical: (default = FALSE) Did you upload your gene list to speedrichr API? (i.e. did you intend to use this gene list along with a background gene list?)

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the genes and description associated to the supplied user_list_id.

Corresponding API Resources

"GET https://maayanlab.cloud/Enrichr/view"
"GET https://maayanlab.cloud/speedrichr/api/view"

References

  • Chen, E.Y., Tan, C.M., Kou, Y. et al. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. Bioinformatics 14, 128 (2013). https://doi.org/10.1186/1471-2105-14-128

  • Maxim V. Kuleshov, Matthew R. Jones, Andrew D. Rouillard, Nicolas F. Fernandez, Qiaonan Duan, Zichen Wang, Simon Koplev, Sherry L. Jenkins, Kathleen M. Jagodnik, Alexander Lachmann, Michael G. McDermott, Caroline D. Monteiro, Gregory W. Gundersen, Avi Ma’ayan, Enrichr: a comprehensive gene set enrichment analysis web server 2016 update, Nucleic Acids Research, Volume 44, Issue W1, 8 July 2016, Pages W90–W97, https://doi.org/10.1093/nar/gkw377

  • Xie, Z., Bailey, A., Kuleshov, M. V., Clarke, D. J. B., Evangelista, J. E., Jenkins, S. L., Lachmann, A., Wojciechowicz, M. L., Kropiwnicki, E., Jagodnik, K. M., Jeon, M., & Ma’ayan, A. (2021). Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. doi: 10.1002/cpz1.90

  • Enrichr API Documentation

  • Citations note on Enrichr website

See Also

Other "Enrichr": rba_enrichr(), rba_enrichr_add_background(), rba_enrichr_add_list(), rba_enrichr_enrich(), rba_enrichr_gene_map(), rba_enrichr_gene_sets(), rba_enrichr_libs()

Examples

## Not run: 
rba_enrichr_view_list(user_list_id = 11111)

## End(Not run)

List collections available in JASPAR

Description

JASPAR organizes matrix profiles into collections. Using this function, you can retrieve a list of available collections in a JASPAR release.

Usage

rba_jaspar_collections(release = 2026, ...)

Arguments

release

Numeric: (default = 2026) Which JASPAR database release to use? Available options are: 2026, 2024, 2022, 2020, 2018, 2016, and 2014.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with collections' names and URLs.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/collections/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_collections(release = 2026)

List matrices available in a JASPAR collection

Description

Using this function you can list all matrix profiles that are available in a collection from a JASPAR release.

Usage

rba_jaspar_collections_matrices(
  collection,
  release = 2026,
  only_last_version = FALSE,
  search = NULL,
  order = NULL,
  page_size = 1000,
  page = 1,
  ...
)

Arguments

collection

Character: JASPAR Collection's name. See JASPAR Collections for information. The accepted values are: "CORE", "CNE", "PHYLOFACTS", "SPLICE", "POLII", "FAM", "PBM", "PBM_HOMEO", "PBM_HLH", and "UNVALIDATED".

release

Numeric: (default = 2026) Which JASPAR database release to use? Available options are: 2026, 2024, 2022, 2020, 2018, 2016, and 2014.

only_last_version

Logical: (default = FALSE) If TRUE, only the latest version of a matrix profile will be returned.

search

Character: (optional) A search term.

order

Character: (optional) A field name or a vector of field names that will be used to order the results.
Providing multiple field names is supported. You can also use the prefix "-" before a field name to indicate reverse ordering.

page_size

Numeric: (default = 1000) This resource returns paginated results. What is the maximum number of results that you want to retrieve per page? Accepted values are between 1 and 1000.

page

Numeric: (default = 1) Which page of the results to retrieve? The accepted values depend on the page size and number of results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

The results are paginated. You can control the page's size number with the function's arguments. Also, you can use rba_pages to automatically iterate over multiple pages.

Value

A list that contains a data frame with information on matrix profiles available in the collection.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/collections/{collection}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_collections_matrices(collection = "CORE",
  release = 2026,
  page_size = 100,
  page = 2)

Get a position frequency matrix (PFM) with annotations

Description

Using this function, you can retrieve the position frequency matrix (PFM) associated with a matrix profile identifier, along with its details and annotations. If a base ID (i.e., without a version suffix) is supplied, the latest version will be returned.

Usage

rba_jaspar_matrix(matrix_id, file_format = NULL, save_to = NULL, ...)

Arguments

matrix_id

Character: A matrix profile identifier. It follows a "base_id.version" naming scheme.

file_format

Character: (optional) Instead of returning an R object, you can directly download the profile matrix as a file in this format. Supported formats are "yaml", "jaspar", "transfac", "meme", and "pfm".

save_to

Character: (optional)

  • NULL: (only if file_format was supplied) Save the file to an automatically-generated path.

  • Character string: A valid file or directory path to save the file to.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the PFM, details, and annotations. If file_format is supplied, the function returns the unparsed file content as a character string.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/matrix/{matrix_id}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_matrix("MA0600.2")

## Not run: 
rba_jaspar_matrix(matrix_id = "MA0600.2",
                  file_format = "meme",
                  save_to = "my_matrix.meme")

## End(Not run)

List matrix profile versions associated with a base ID

Description

Since JASPAR release 2010, matrix profiles have been versioned. A matrix profile identifier follows a "base_id.version" naming scheme. Using this function, you can retrieve a list of matrix profiles associated with a base (stable) ID.

Usage

rba_jaspar_matrix_versions(base_id, order = NULL, ...)

Arguments

base_id

Character: A base (stable) identifier. A matrix profile identifier follows a "base_id.version" naming scheme.

order

Character: (optional) A field name or a vector of field names that will be used to order the results.
Providing multiple field names is supported. You can also use the prefix "-" before a field name to indicate reverse ordering.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with information on the matrix profile versions.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/matrix/{base_id}/versions/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_matrix_versions("MA0600")

Get information about JASPAR database releases

Description

If a release number is supplied, this function returns the details of that release. Otherwise, when called without the release_number argument, it returns a list of all JASPAR database releases.

Usage

rba_jaspar_releases(release_number = NULL, ...)

Arguments

release_number

Numeric: (optional) Which JASPAR database release number should be retrieved? If left NULL (the default), a list of all JASPAR database releases will be returned.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list that contains all JASPAR database releases' information or details of a particular release.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/releases/"
"GET https://jaspar.elixir.no/api/v1/releases/{release_number}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_releases()
rba_jaspar_releases(11)

Get binding sites of a matrix profile

Description

Use this function to retrieve a list of transcription factor binding sites associated with a matrix profile.

Usage

rba_jaspar_sites(matrix_id, ...)

Arguments

matrix_id

Character: A matrix profile identifier. It follows a "base_id.version" naming scheme.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing a data frame with binding-site information.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/sites/{matrix_id}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_sites("MA0600.1")

List available species in JASPAR

Description

JASPAR organizes matrix profiles from multiple species in multiple taxonomic groups. Use this function to retrieve a list of available species in a JASPAR database release.

Usage

rba_jaspar_species(release = 2026, search = NULL, order = NULL, ...)

Arguments

release

Numeric: (default = 2026) Which JASPAR database release to use? Available options are: 2026, 2024, 2022, 2020, 2018, 2016, and 2014.

search

Character: (optional) A search term.

order

Character: (optional) A field name or a vector of field names that will be used to order the results.
Providing multiple field names is supported. You can also use the prefix "-" before a field name to indicate reverse ordering.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with information on available species.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/species/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_species(release = 2026)

List matrices available in JASPAR of a species

Description

JASPAR curates matrix profiles from multiple species in multiple taxonomic groups. Using this function you can list all matrix profiles that are available in a JASPAR release for a species.

Usage

rba_jaspar_species_matrices(
  tax_id,
  release = 2026,
  only_last_version = FALSE,
  search = NULL,
  order = NULL,
  page_size = 1000,
  page = 1,
  ...
)

Arguments

tax_id

Numeric: NCBI taxonomic identifier of a species. Use rba_jaspar_species to get a list of supported species.

release

Numeric: (default = 2026) Which JASPAR database release to use? Available options are: 2026, 2024, 2022, 2020, 2018, 2016, and 2014.

only_last_version

Logical: (default = FALSE) If TRUE, only the latest version of a matrix profile will be returned.

search

Character: (optional) A search term.

order

Character: (optional) A field name or a vector of field names that will be used to order the results.
Providing multiple field names is supported. You can also use the prefix "-" before a field name to indicate reverse ordering.

page_size

Numeric: (default = 1000) This resource returns paginated results. What is the maximum number of results that you want to retrieve per page? Accepted values are between 1 and 1000.

page

Numeric: (default = 1) Which page of the results to retrieve? The accepted values depend on the page size and number of results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

The results are paginated. You can control the page's size number with the function's arguments. Also, you can use rba_pages to automatically iterate over multiple pages.

Value

A list that contains a data frame with information on matrix profiles available for the species.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/species/{tax_id}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_species_matrices(tax_id = 9606, page_size = 100)

List available taxonomic groups in JASPAR

Description

JASPAR organizes matrix profiles from multiple species in multiple taxonomic groups. Use this function to retrieve a list of available taxonomic groups in a JASPAR database release.

Usage

rba_jaspar_taxons(release = 2026, ...)

Arguments

release

Numeric: (default = 2026) Which JASPAR database release to use? Available options are: 2026, 2024, 2022, 2020, 2018, 2016, and 2014.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with information on available taxonomic groups.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/taxon/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_taxons(release = 2026)

List matrices available in JASPAR of a taxonomic group

Description

JASPAR organizes matrix profiles from multiple species in multiple taxonomic groups. Using this function you can list all matrix profiles that are available in a JASPAR release from a taxonomic group.

Usage

rba_jaspar_taxons_matrices(
  tax_group,
  release = 2026,
  only_last_version = FALSE,
  search = NULL,
  order = NULL,
  page_size = 1000,
  page = 1,
  ...
)

Arguments

tax_group

Character: Taxonomic group. Use rba_jaspar_taxons to get a list of supported taxonomic groups.

release

Numeric: (default = 2026) Which JASPAR database release to use? Available options are: 2026, 2024, 2022, 2020, 2018, 2016, and 2014.

only_last_version

Logical: (default = FALSE) If TRUE, only the latest version of a matrix profile will be returned.

search

Character: (optional) A search term.

order

Character: (optional) A field name or a vector of field names that will be used to order the results.
Providing multiple field names is supported. You can also use the prefix "-" before a field name to indicate reverse ordering.

page_size

Numeric: (default = 1000) This resource returns paginated results. What is the maximum number of results that you want to retrieve per page? Accepted values are between 1 and 1000.

page

Numeric: (default = 1) Which page of the results to retrieve? The accepted values depend on the page size and number of results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

The results are paginated. You can control the page's size number with the function's arguments. Also, you can use rba_pages to automatically iterate over multiple pages.

Value

A list that contains a data frame with information on matrix profiles available for the taxonomic group.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/taxon/{tax_group}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_tffm(), rba_jaspar_tffm_search()

Examples

rba_jaspar_taxons_matrices(tax_group = "plants", page_size = 100)

Get information about a TF flexible model (TFFM)

Description

Using this function, you can retrieve details and annotations for the transcription factor flexible model (TFFM) associated with a TFFM ID. If a base ID (i.e., without a version suffix) is supplied, the latest version will be returned.

Usage

rba_jaspar_tffm(tffm_id, ...)

Arguments

tffm_id

Character: A TF flexible model (TFFM) identifier.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list that contains the TFFM's information and annotations.

Corresponding API Resources

"GET https://jaspar.elixir.no/api/v1/tffm/{tffm_id}/"

References

  • Baydar Ovek D, et al. JASPAR 2026: expansion of transcription factor binding profiles and integration of deep learning models. Nucleic Acids Res. 2026;54(D1):D184-D193; doi: 10.1093/nar/gkaf1209

  • Khan, A. and Mathelier, A. JASPAR RESTful API: accessing JASPAR data from any programming language. Bioinformatics, 2017, doi: 10.1093/bioinformatics/btx804

  • JASPAR API Documentation

  • Citations note on JASPAR website

See Also

Other "JASPAR": rba_jaspar_collections(), rba_jaspar_collections_matrices(), rba_jaspar_matrix(), rba_jaspar_matrix_search(), rba_jaspar_matrix_versions(), rba_jaspar_releases(), rba_jaspar_sites(), rba_jaspar_species(), rba_jaspar_species_matrices(), rba_jaspar_taxons(), rba_jaspar_taxons_matrices(), rba_jaspar_tffm_search()

Examples

rba_jaspar_tffm("TFFM0056.3")

Retrieve API Request Metadata

Description

Retrieve API request metadata saved with an rbioapi result. Metadata is off by default. Set metadata = TRUE on one call to save metadata for that result, or use rba_options(metadata = TRUE) to save it for all later calls.

Usage

rba_metadata(result)

Arguments

result

Any: An object returned by an rbioapi function.

Details

Saving metadata does not change the result's class. The returned rba_metadata object is a list. Printing it shows a short summary; use $ or [[ to access its elements. Using rba_metadata(result) is equivalent to retrieving attributes(result)$rbioapi_metadata.

The list contains:

  • rbioapi_version: the rbioapi version used to create the result.

  • requests: request entries in the order they were made. Each entry contains:

    • timestamp: the date value from the original httr response.

    • call: the API call used for the request.

    • response: the original httr response object.

    • parsers: the exact parser functions used, in the order they ran.

Functions that use several requests to create one result save their entries in the order the requests were made. Each result returned by rba_pages() keeps its own metadata. Retry attempts are included when they receive an HTTP response. If a response was not parsed, its parsers list is empty.

Saving the complete httr responses and parser functions can make results and saved files much larger.

Value

An object of class rba_metadata containing saved API request metadata, or NULL if result has no metadata.

See Also

Other "Helper functions": rba_connection_test(), rba_options(), rba_pages()

Examples

## Not run: 
## Save metadata with one result:
result <- rba_reactome_species(metadata = TRUE)
request_metadata <- rba_metadata(result)

## Print a short summary:
request_metadata

## Check the rbioapi version saved with the result:
request_metadata$rbioapi_version

## View the requests without printing full functions and responses:
str(request_metadata$requests, max.level = 2)

## View one original httr response in more detail:
str(request_metadata$requests[[1]]$response, max.level = 1)

## End(Not run)

Get Supported Enrichment Categories for a Species and miRNA Type

Description

Each combination of species and miRNA type supports a predefined set of enrichment categories. This function retrieves the categories available for a given combination.

Usage

rba_mieaa_cats(mirna_type, species, mode = "all", ...)

Arguments

mirna_type

Character: Type of the miRNA identifiers; either "mature" or "precursor".

species

Character or Numeric: Scientific name, abbreviation, or NCBI taxon ID of one of the following species:

  1. "Homo sapiens", "hsa" or 9606

  2. "Mus musculus", "mmu" or 10090

  3. "Rattus norvegicus", "rno" or 10116

  4. "Arabidopsis thaliana", "ath" or 3702

  5. "Bos taurus", "bta" or 9913

  6. "Caenorhabditis elegans", "cel" or 6239

  7. "Drosophila melanogaster", "dme" or 7227

  8. "Danio rerio", "dre" or 7955

  9. "Gallus gallus", "gga" or 9031

  10. "Sus scrofa", "ssc" or 9823

mode

Character: (default = "all") Category subset to retrieve. One of: "all" to include default and expert categories, "default" to include only default categories, or "expert" to include only expert categories.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A named character vector whose values are the supported category identifiers and whose names are their descriptions. If the selected subset has no categories, returns character(0).

Corresponding API Resources

"GET https://ccb-compute2.cs.uni-saarland.de/mieaa/api/v1/enrichment_categories/{species}/{mirna_type}/{mode}"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_convert_type(), rba_mieaa_convert_version(), rba_mieaa_enrich(), rba_mieaa_enrich_results(), rba_mieaa_enrich_status(), rba_mieaa_enrich_submit()

Examples

rba_mieaa_cats("mature", "Homo sapiens")

Convert Between Mature and Precursor miRNA Identifiers

Description

miRBase identifiers can refer to either mature or precursor miRNAs. (see: A uniform system for microRNA annotation). Use this function to convert mature miRNA identifiers to precursor identifiers or vice versa.

Usage

rba_mieaa_convert_type(
  mirna,
  input_type,
  only_unique = FALSE,
  simple_output = FALSE,
  ...
)

Arguments

mirna

Character: miRNA identifiers to convert.

input_type

Character: Type of the supplied miRNA identifiers; either "mature" or "precursor".

only_unique

Logical: (default = FALSE) Mature and precursor miRNA identifiers do not always map uniquely. If TRUE, do not return mappings for inputs with multiple matches. In tabular output, these inputs remain as rows with "-" in the output column.

simple_output

Logical: (default = FALSE) If FALSE, return a two-column data frame containing the input and output identifier mappings; multiple output identifiers are separated by semicolons. If TRUE, expand one-to-many mappings into a flat character vector of converted identifiers without their association with the supplied identifiers.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Depending on simple_output, a data frame or character vector containing the mappings returned by miEAA. Unrecognized or unmapped supplied identifiers can be omitted from the output.

Corresponding API Resources

"POST https://ccb-compute2.cs.uni-saarland.de/mieaa/api/v1/mirna_precursor_converter/"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_version(), rba_mieaa_enrich(), rba_mieaa_enrich_results(), rba_mieaa_enrich_status(), rba_mieaa_enrich_submit()

Examples

Sys.sleep(1) # to prevent 429 error during R CMD check
rba_mieaa_convert_type(mirna = c("hsa-miR-20b-5p", "hsa-miR-144-5p"),
    input_type = "mature")

Convert miRNA Identifiers Between Different miRBase Versions

Description

miEAA uses miRBase v22 identifiers. This function converts a set of mature or precursor miRNA identifiers between two supported miRBase versions.

Usage

rba_mieaa_convert_version(
  mirna,
  mirna_type,
  input_version,
  output_version,
  simple_output = FALSE,
  ...
)

Arguments

mirna

Character: miRNA identifiers to convert.

mirna_type

Character: Type of the supplied miRNA identifiers; either "mature" or "precursor".

input_version

Numeric: miRBase version of the supplied identifiers.

output_version

Numeric: miRBase version to which the identifiers should be converted.

simple_output

Logical: (default = FALSE) If FALSE, return a two-column data frame containing the input and output identifier mappings. If TRUE, return only the converted identifiers without their association with the supplied identifiers.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Depending on simple_output, a data frame or character vector containing the mappings returned by miEAA. Unrecognized or unmapped supplied identifiers can be omitted from the output.

Corresponding API Resources

"POST https://ccb-compute2.cs.uni-saarland.de/mieaa/api/v1/mirbase_converter/"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_type(), rba_mieaa_enrich(), rba_mieaa_enrich_results(), rba_mieaa_enrich_status(), rba_mieaa_enrich_submit()

Examples

Sys.sleep(1) # to prevent 429 error during R CMD check
rba_mieaa_convert_version(mirna = c("hsa-miR-20b-5p", "hsa-miR-144-5p"),
    mirna_type = "mature", input_version = 22, output_version =  16)

A One-step Wrapper for miRNA Enrichment Using miEAA

Description

This function is a wrapper for the multiple function calls necessary to perform enrichment analysis on a given miRNA list using miEAA. See Details section for more information.

Usage

rba_mieaa_enrich(
  test_set,
  mirna_type,
  test_type,
  species,
  categories = NULL,
  p_adj_method = "fdr",
  independent_p_adj = TRUE,
  sig_level = 0.05,
  min_hits = 2,
  ref_set = NULL,
  sort_by = "p_adjusted",
  sort_asc = TRUE,
  poll_interval = 5,
  poll_timeout = 300,
  ...
)

Arguments

test_set

Character: Mature or precursor miRBase miRNA identifiers. Note that

  1. Only miRBase v22 identifiers are accepted. You can use rba_mieaa_convert_version to convert older identifiers to miRBase v22.

  2. The list must contain either mature or precursor miRNA identifiers, not a mixture of both.

mirna_type

Character: Type of the supplied miRNA identifiers; either "mature" or "precursor".

test_type

Character: Analysis to perform; either "ORA" for over-representation analysis or "GSEA" for miRNA gene set enrichment analysis. For GSEA, the input list must already be ranked by an appropriate criterion.

species

Character or Numeric: Scientific name, abbreviation, or NCBI taxon ID of one of the following species:

  1. "Homo sapiens", "hsa" or 9606

  2. "Mus musculus", "mmu" or 10090

  3. "Rattus norvegicus", "rno" or 10116

  4. "Arabidopsis thaliana", "ath" or 3702

  5. "Bos taurus", "bta" or 9913

  6. "Caenorhabditis elegans", "cel" or 6239

  7. "Drosophila melanogaster", "dme" or 7227

  8. "Danio rerio", "dre" or 7955

  9. "Gallus gallus", "gga" or 9031

  10. "Sus scrofa", "ssc" or 9823

categories

Character: (optional) One or more category identifiers to use for miRNA set enrichment analysis. Note that

  • Available categories vary with the selected species and whether the supplied miRNAs are mature or precursor. Use rba_mieaa_cats to retrieve a list of available category identifiers for a given species and miRNA type.

  • If NULL, the analysis is performed using all available categories.

p_adj_method

Character: (default = "fdr") P-value adjustment method to use. One of: "none", "fdr", "bonferroni", "BY", "hochberg", "holm", or "hommel".

independent_p_adj

Logical: (default = TRUE) The scope of p-value adjustment. If TRUE, p-values are adjusted separately within each category. If FALSE, p-values are adjusted collectively over all categories.

sig_level

Numeric: (default = 0.05) Significance threshold for adjusted p-values. Values equal to or greater than this threshold are omitted from the results. Must be greater than 0 and at most 1.

min_hits

Numeric: (default = 2) Minimum number of miRNAs from the test set that a subcategory must contain to be included in the results. Must be a positive integer.

ref_set

Character: (optional) Only applicable when test_type = "ORA". Used as the reference (background or universe) set for p-value calculations.

sort_by

Character: (default = "p_adjusted") Result column to sort by. One of: "category", "subcategory", "enrichment", "p_value", "p_adjusted", "q_value", or "observed".

sort_asc

Logical: (default = TRUE) If TRUE, sort the results in ascending order. If FALSE, sort them in descending order.

poll_interval

Numeric: (default = 5) Number of seconds to wait between job-status requests; must be between 5 and 300 seconds.

poll_timeout

Numeric: (default = 300) Maximum number of seconds to wait for the enrichment analysis to finish. Use Inf to wait without a time limit.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

This function will call other rba_mieaa_*** functions with the following order:

  1. Call rba_mieaa_enrich_submit to submit an enrichment analysis request to the miEAA server using the supplied miRNA list and other arguments.

  2. Once the job is successfully submitted, call rba_mieaa_enrich_status at the selected polling interval to check whether the server-side analysis has finished.

  3. Call rba_mieaa_enrich_results to retrieve the results of your enrichment analysis.

See each function's manual for more details. The save_file rbioapi option applies only to the final enrichment results and not to the intermediate submission or status responses.

Value

A data frame with your enrichment analysis results.

Corresponding API Resources

"https://ccb-compute2.cs.uni-saarland.de/mieaa/api/"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_type(), rba_mieaa_convert_version(), rba_mieaa_enrich_results(), rba_mieaa_enrich_status(), rba_mieaa_enrich_submit()

Other "Enrichment/Over-representation": rba_enrichr(), rba_panther_enrich(), rba_reactome_analysis(), rba_string_enrichment(), rba_string_enrichment_image()

Examples

## Not run: 
rba_mieaa_enrich(test_set = c("hsa-miR-20b-5p", "hsa-miR-144-5p",
 "hsa-miR-17-5p", "hsa-miR-20a-5p"),
     mirna_type = "mature",
     test_type = "ORA",
     species = 9606,
     categories = "miRPathDB_GO_Biological_process_mature")

## End(Not run)

Retrieve the Results of a Finished miEAA Enrichment Analysis

Description

After your submitted enrichment analysis request has finished (check using rba_mieaa_enrich_status), you can retrieve the results using this function.

Usage

rba_mieaa_enrich_results(job_id, sort_by = "p_adjusted", sort_asc = TRUE, ...)

Arguments

job_id

Character: Job ID of a submitted enrichment analysis.

sort_by

Character: (default = "p_adjusted") Result column to sort by. One of: "category", "subcategory", "enrichment", "p_value", "p_adjusted", "q_value", or "observed".

sort_asc

Logical: (default = TRUE) If TRUE, sort the results in ascending order. If FALSE, sort them in descending order.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Note that using rba_mieaa_enrich is a more convenient way to automatically perform this and other required function calls to perform enrichment analysis on your input miRNA-set using miEAA.

Value

A data frame with your enrichment analysis results.

Corresponding API Resources

"GET https://ccb-compute2.cs.uni-saarland.de/mieaa/api/v1/enrichment_analysis/results/{job_id}/"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_type(), rba_mieaa_convert_version(), rba_mieaa_enrich(), rba_mieaa_enrich_status(), rba_mieaa_enrich_submit()

Examples

## Not run: 
rba_mieaa_enrich_results("f52d1aef-6d3d-4d51-9020-82e68fe99012")

## End(Not run)

Check the Status of a Submitted miEAA Enrichment Analysis

Description

After you have submitted your enrichment analysis (using rba_mieaa_enrich_submit) and retrieved a job-id, you can use this function to check the status of the job. The status is either a numeric completion percentage or "FAILED". A status value equal to 100 means that the requested analysis has finished and you may retrieve the results using rba_mieaa_enrich_results.

Usage

rba_mieaa_enrich_status(job_id, ...)

Arguments

job_id

Character: Job ID of a submitted enrichment analysis.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Note that using rba_mieaa_enrich is a more convenient way to automatically perform this and other required function calls to perform enrichment analysis on your input miRNA-set using miEAA.

Value

A list containing a status element with either the numeric completion percentage or "FAILED" for the supplied job ID. A completed job also includes its results URL.

Corresponding API Resources

"GET https://ccb-compute2.cs.uni-saarland.de/mieaa/api/v1/job_status/{job_id}/"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_type(), rba_mieaa_convert_version(), rba_mieaa_enrich(), rba_mieaa_enrich_results(), rba_mieaa_enrich_submit()

Examples

## Not run: 
Sys.sleep(1) # to prevent 429 error during R CMD check
rba_mieaa_enrich_status("f52d1aef-6d3d-4d51-9020-82e68fe99012")

## End(Not run)

Submit miEAA miRNA Enrichment Analysis Request

Description

Submit a request to the miEAA server to perform over-representation analysis or gene set enrichment analysis for a set of miRNA identifiers.

Usage

rba_mieaa_enrich_submit(
  test_set,
  mirna_type,
  test_type,
  species,
  categories = NULL,
  p_adj_method = "fdr",
  independent_p_adj = TRUE,
  sig_level = 0.05,
  min_hits = 2,
  ref_set = NULL,
  ...
)

Arguments

test_set

Character: Mature or precursor miRBase miRNA identifiers. Note that

  1. Only miRBase v22 identifiers are accepted. You can use rba_mieaa_convert_version to convert older identifiers to miRBase v22.

  2. The list must contain either mature or precursor miRNA identifiers, not a mixture of both.

mirna_type

Character: Type of the supplied miRNA identifiers; either "mature" or "precursor".

test_type

Character: Analysis to perform; either "ORA" for over-representation analysis or "GSEA" for miRNA gene set enrichment analysis. For GSEA, the input list must already be ranked by an appropriate criterion.

species

Character or Numeric: Scientific name, abbreviation, or NCBI taxon ID of one of the following species:

  1. "Homo sapiens", "hsa" or 9606

  2. "Mus musculus", "mmu" or 10090

  3. "Rattus norvegicus", "rno" or 10116

  4. "Arabidopsis thaliana", "ath" or 3702

  5. "Bos taurus", "bta" or 9913

  6. "Caenorhabditis elegans", "cel" or 6239

  7. "Drosophila melanogaster", "dme" or 7227

  8. "Danio rerio", "dre" or 7955

  9. "Gallus gallus", "gga" or 9031

  10. "Sus scrofa", "ssc" or 9823

categories

Character: (optional) One or more category identifiers to use for miRNA set enrichment analysis. Note that

  • Available categories vary with the selected species and whether the supplied miRNAs are mature or precursor. Use rba_mieaa_cats to retrieve a list of available category identifiers for a given species and miRNA type.

  • If NULL, the analysis is performed using all available categories.

p_adj_method

Character: (default = "fdr") P-value adjustment method to use. One of: "none", "fdr", "bonferroni", "BY", "hochberg", "holm", or "hommel".

independent_p_adj

Logical: (default = TRUE) The scope of p-value adjustment. If TRUE, p-values are adjusted separately within each category. If FALSE, p-values are adjusted collectively over all categories.

sig_level

Numeric: (default = 0.05) Significance threshold for adjusted p-values. Values equal to or greater than this threshold are omitted from the results. Must be greater than 0 and at most 1.

min_hits

Numeric: (default = 2) Minimum number of miRNAs from the test set that a subcategory must contain to be included in the results. Must be a positive integer.

ref_set

Character: (optional) Only applicable when test_type = "ORA". Used as the reference (background or universe) set for p-value calculations.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Note that using rba_mieaa_enrich is a more convenient way to automatically perform this and other required function calls to perform enrichment analysis on your input miRNA-set using miEAA.

Value

A list that contains your submitted job's ID and a URL to manually check for your job status.

Corresponding API Resources

"POST https://ccb-compute2.cs.uni-saarland.de/mieaa/api/v1/enrichment_analysis/{species}/{type}/{test}/"

References

  • Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392

  • miEAA browsable API tutorial

  • Citation note on miEAA website

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_type(), rba_mieaa_convert_version(), rba_mieaa_enrich(), rba_mieaa_enrich_results(), rba_mieaa_enrich_status()

Examples

Sys.sleep(1) # to prevent 429 error during R CMD check
rba_mieaa_enrich_submit(test_set = c("hsa-miR-20b-5p", "hsa-miR-144-5p"),
    mirna_type = "mature",
    test_type = "GSEA",
    species = 9606,
    categories = NULL)

Set rbioapi Global Options

Description

A safe way to change rbioapi's global options and behavior. see "arguments" section for available options.
Note that you are not limited to changing the options globally, you can include the option names and values in the '...' argument of any rbioapi function to alter the option(s) only in that function call; e.g. example_function(x, diagnostics = TRUE, timeout = 300).
Alternatively, you can call this function with no arguments, i.e. rba_options(), to retrieve a data frame of available rbioapi options and their current values.

Usage

rba_options(
  diagnostics = NULL,
  dir_name = NULL,
  retry_max = NULL,
  retry_wait = NULL,
  progress = NULL,
  save_file = NULL,
  skip_error = NULL,
  timeout = NULL,
  verbose = NULL,
  metadata = NULL
)

Arguments

diagnostics

Logical: (optional) Show diagnostics and detailed messages with internal information. The package default is FALSE.

dir_name

Character: (optional) If the package needs to generate a file path to save the server's response, a directory with this name will be created in your working directory to save your files. The package default is "rbioapi".

retry_max

Numeric: (optional) How many times should rbioapi retry in case of 5xx server responses, errors related to the server or no internet connectivity? Must be a finite non-negative whole number. The package default is 0.

retry_wait

Numeric: (optional) Time in seconds to wait before next retry in case of internet connection or server problems. Must be finite and non-negative. The package default is 10.

progress

Logical: (optional) Should a progress bar be displayed? The package default is FALSE.

save_file

Logical: (optional) Either:

  • TRUE: In this case, the raw server's response file will be automatically saved to a proper file path. use "dir_name" argument to change the file's parent directory.

  • FALSE: Do not automatically save server's response file.

  • Character: (Only when changing the option via "..." in a functions call) A valid file path to save the server's response file to the function that you are calling.

The package default is FALSE.

skip_error

Logical: (optional) If TRUE, the code execution will not be stopped in case of errors (anything but HTTP status 200 from the server); Instead the error message will be returned as the function's output. However, if FALSE, in case of any error, the code execution will be halted and an error message will be issued. The package default is FALSE in interactive sessions and TRUE otherwise.

timeout

Numeric: (optional) The maximum time in seconds that you are willing to wait for a server response before giving up and stopping the function execution. Accepted values are between 0.001 and 3600, inclusive. The package default is 90.

verbose

Logical: (optional) Generate short informative messages. The package default is TRUE.

metadata

Logical: (optional) Save API request metadata with returned objects? It includes the rbioapi version and, for each request, the timestamp, API call, original httr response, and exact parser functions. Use rba_metadata() to get it. The package default is FALSE.

Details

Because this function validates your supplied changes, please only change rbioapi options using this function and avoid directly editing them.

Value

If called without any argument, a Data frame with available options and their information; If Called with an argument, will Return NULL but Alters that option globally.

See Also

Other "Helper functions": rba_connection_test(), rba_metadata(), rba_pages()

Examples

rba_options()
## Not run: 
rba_options(verbose = FALSE)

## End(Not run)
## Not run: 
rba_options(save_file = TRUE)

## End(Not run)
## Not run: 
rba_options(diagnostics = TRUE, progress = TRUE)

## End(Not run)
## Not run: 
## Save metadata with all later rbioapi calls:
rba_options(metadata = TRUE)

## Turn it off again:
rba_options(metadata = FALSE)

## End(Not run)

Retrieve Multiple Pages of a Paginated Resource

Description

Evaluate a quoted call to an exported rbioapi function for multiple page numbers. Calls are made sequentially, and their results are returned in the requested order.

Usage

rba_pages(
  input_call,
  page_arg = NULL,
  pages = NULL,
  sleep_time = 2,
  skip_error = TRUE,
  progress = FALSE,
  verbose = getOption("rba_verbose")
)

Arguments

input_call

Call: A quoted invocation of an exported API-endpoint-facing rbioapi function. To request an inclusive range, set the called function's named page argument to a character string of the form "pages:start:end". Alternatively, omit the page argument from input_call, supply its exact name through page_arg, and supply the desired page numbers through pages. These two forms cannot be combined.

page_arg

Character: (optional) Exact name of the formal argument of the called rbioapi function that accepts the page number. Supply together with pages when the page argument is omitted from input_call.

pages

Numeric: (optional) Unique positive whole page numbers in the order in which they should be requested. A maximum of 100 values can be supplied. Must be supplied together with page_arg.

sleep_time

Numeric: (default = 2) Number of seconds to wait between successive calls. Must be at least 2.

skip_error

Logical: (default = TRUE) Continue the operation after an unsuccessful page call and return its error message as that page's result? This value is passed to every page call. If input_call already supplies skip_error, its value is overridden and a warning is issued.

progress

Logical: (default = FALSE) Display one progress bar for the complete operation? When TRUE, verbose messages and progress bars from individual page calls are suppressed.

verbose

Logical: (default = getOption("rba_verbose")) Generate an informative message describing the complete operation?

Details

Pagination can be specified in either of two ways. To request an inclusive range, set the named page argument in input_call to a character string of the form "pages:start:end". Alternatively, omit the page argument from input_call, supply its exact name through page_arg, and supply the desired page numbers through pages. The range may run in either direction, and the two forms cannot be combined. The page argument must exactly match a formal function argument; partial and positional matching are not used for pagination.

Page numbers must be unique positive whole numbers, and no more than 100 pages can be requested in one call. sleep_time seconds are inserted between successive calls.

The value of skip_error is passed to every page call, allowing rbioapi's standard error-handling mechanism to determine whether a failed request stops the operation. If progress = TRUE, one progress bar is displayed and verbose = FALSE and progress = FALSE are passed to the individual rbioapi calls.

Value

A named list containing one element per requested page. Element names have the form page_<number>.

See Also

Other "Helper functions": rba_connection_test(), rba_metadata(), rba_options()

Examples

rba_pages(
  input_call = quote(
    rba_uniprot_taxonomy_name(
      name = "adenovirus",
      search_type = "contain",
      page_size = 20,
      page_number = "pages:1:2"
    )
  )
)


rba_pages(
  input_call = quote(
    rba_uniprot_taxonomy_name(
      name = "adenovirus",
      search_type = "contain",
      page_size = 20
    )
  ),
  page_arg = "page_number",
  pages = c(1, 3)
)

PANTHER Over-Representation or Enrichment Analysis

Description

Use PANTHER services to perform over-representation enrichment analysis. You can either provide a character vector of gene IDs for over-representation analysis, or a data frame of gene IDs and expression analysis.
Please refer to the details section for more information on the statistical analysis.

Usage

rba_panther_enrich(
  genes,
  organism,
  annot_dataset,
  test_type = NULL,
  correction = "FDR",
  cutoff = NULL,
  ref_genes = NULL,
  ref_organism = NULL,
  request_mapped_genes = "input",
  ...
)

Arguments

genes

Character or Data frame: A vector or data frame. Depending on this parameter, the analysis type is determined.

Character vector:

If a character vector is supplied, over-representation analysis will be performed using either Fisher's exact test (default), or binomial.

Data frame:

If a data.frame is supplied, statistical enrichment test is performed using Mann-Whitney U (Wilcoxon Rank-Sum) test. The data frame should have two columns: the first column is a character vector with gene identifiers and the second column is a numerical vector with expression values.

In both cases, a maximum of 100,000 identifiers can be supplied. The gene identifiers can be any of: Ensembl gene ID, Ensembl protein ID, Ensembl transcript ID, Entrez gene ID, gene symbol, NCBI GI, HGNC ID, International protein index ID, NCBI UniGene ID, UniProt accession or UniProt ID.

organism

Numeric: NCBI taxon ID. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

annot_dataset

Character: A PANTHER dataset ID to test your input against it. run rba_panther_info with argument 'what = "datasets"' to get a list of PANTHER's supported datasets. Note that you should enter the "id" of the dataset, not its label (e.g. entering "biological_process" is incorrect, you should rather enter "GO:0008150").

test_type

Character: (optional) Statistical test type used to calculate p-values.

  • If performing over-representation analysis (i.e. 'genes' is a character vector), valid values are "FISHER" (default if NULL) or "BINOMIAL".

  • If performing statistical enrichment analysis (i.e. 'genes' is a data frame), the only valid value is "Mann-Whitney" (default if NULL).

correction

Character: (default = "FDR") p value correction method. either "FDR" (default), "BONFERRONI" or "NONE".

cutoff

Numeric: (optional) a threshold to filter the results. if correction is "FDR", the threshold will be applied to fdr column's values; if otherwise, the threshold will be applied to p value column.

ref_genes

Character or Numeric: (optional) (only valid if genes is a character vector) A vector of genes that will be used as the test's background (reference/universe) gene set. If no value is supplied, all of the genes in the specified organism will be used. The maximum length and supported IDs are the same as the 'genes' argument.

ref_organism

Numeric: (optional) (only valid if genes is a character vector) if 'ref_genes' is used, you can specify the organisms which correspond to your supplied IDs in 'ref_genes' argument. see 'organism' argument for supported values.

request_mapped_genes

Character: (default = "input") (only used if genes is a character vector, hence Over-representation test is requested) Which mapped genes should be returned for each result term. One of "input" (default), "reference", or "none". Requesting "reference" without supplying 'ref_genes' may produce a large response because all genes in the specified organism are used as the reference list.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Over-representation Test: It assesses whether specific gene sets are represented in your input gene list differently from what is expected by chance. It uses Fisher's exact test or Binomial test to calculate p-values. Fisher's exact test determines the probability of observing the gene counts in a category based on a hypergeometric distribution; the binomial test compares the observed proportion of genes in a category to the expected proportion based on the reference list. A significant p-value indicates over-representation or under-representation of a gene set.

Statistical Enrichment Test: The statistical enrichment test uses the Mann-Whitney U (Wilcoxon Rank-Sum) test to assess if the expression values associated with genes in a specific category differ significantly from the overall distribution in the input list. This non-parametric test first ranks the numerical values and computes whether the expression values were randomly drawn from the overall distribution of values. A small p-value indicates that the numerical values for the genes in the category are significantly different from the background distribution, thus non-random patterns.

Please note that starting from rbioapi version 0.8.2, you can supply a gene expression data frame to perform statistical enrichment analysis. In earlier versions, only a character vector of gene IDs was possible, thus only over-representation analysis.

Value

For a successful analysis, a list. The "result" element is a data frame with one row per returned annotation term and columns describing the term, observed counts, enrichment direction, and statistical significance. The remaining elements contain input and reference mapping summaries, when applicable, and PANTHER analysis and release metadata.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/enrich/overrep"
"POST https://www.pantherdb.org/services/oai/pantherdb/enrich/statenrich"

References

  • Thomas PD, Ebert D, Muruganujan A, Mushayahama T, Albou L-P, Mi H. (2022) PANTHER: Making genome-scale phylogenetics accessible to all. Protein Science, 31(1), 8–22. https://doi.org/10.1002/pro.4218

  • Mi H, Muruganujan A, Huang X, Ebert D, Mills C, Guo X, Thomas PD. (2019) Protocol Update for large-scale genome and gene function analysis with the PANTHER classification system (v.14.0). Nature Protocols, 14, 703–721. https://doi.org/10.1038/s41596-019-0128-8

  • PANTHER Services Details

  • Citations note on PANTHER website

See Also

Other "PANTHER": rba_panther_family(), rba_panther_genome(), rba_panther_homolog(), rba_panther_info(), rba_panther_mapping(), rba_panther_ortholog(), rba_panther_tree_grafter()

Other "Enrichment/Over-representation": rba_enrichr(), rba_mieaa_enrich(), rba_reactome_analysis(), rba_string_enrichment(), rba_string_enrichment_image()

Examples

rba_panther_enrich(
  genes = c("TP53", "BRCA1", "CDK2", "Q99835", "CDC42"),
  organism = 9606, annot_dataset = "GO:0008150",
  cutoff = 0.01
  )



expression_df <- data.frame(
  genes = c("TP53", "BRCA1", "CDK2", "CDC42", "CDK1"),
  expr = c(10, 8, 6, 4, 2)
  )

rba_panther_enrich(
  genes = expression_df,
  organism = 9606,
  annot_dataset = "GO:0008150"
  )

Get PANTHER Families and Sub-Families

Description

Using this function, you can retrieve Orthologs, MSA or Tree topology information of a given PANTHER family.

Usage

rba_panther_family(id, what, target_organisms = NULL, ...)

Arguments

id

Character: Panther family id.

what

Character: What to retrieve? One of:

  • "ortholog": Orthologs ('LDO' for least diverged and 'O' for more diverged).

  • "msa": Multiple Sequence Alignment Information,

  • "tree": Tree topology and nodes attributes.

target_organisms

Numeric: (optional) NCBI taxon ID(s) to filter the results. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

For trees a list and otherwise a data frame with the requested family's information.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/familyortholog"
"POST https://www.pantherdb.org/services/oai/pantherdb/familymsa"
"POST https://www.pantherdb.org/services/oai/pantherdb/treeinfo"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_genome(), rba_panther_homolog(), rba_panther_info(), rba_panther_mapping(), rba_panther_ortholog(), rba_panther_tree_grafter()

Examples

rba_panther_family("PTHR10000", what = "ortholog")

Retrieve Genes from a PANTHER Genome

Description

Retrieve one page of genes and their associated information for a genome supported by PANTHER. Each page contains up to 1,000 genes.

Usage

rba_panther_genome(organism, page, ...)

Arguments

organism

Numeric: NCBI taxon ID. Run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

page

Numeric: The results page to retrieve. Pages contain up to 1,000 genes and are numbered starting from 1.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list with the following elements:

gene

A data frame with one row per returned gene. Fields are kept as returned by PANTHER, with annotation information in nested columns.

page

The retrieved page.

pages_count

The total number of available pages.

number_of_genes_in_genome

The total number of genes in the genome.

product

PANTHER product source and version information.

search_type

The search type reported by PANTHER.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/downloadgenome"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_family(), rba_panther_homolog(), rba_panther_info(), rba_panther_mapping(), rba_panther_ortholog(), rba_panther_tree_grafter()

Examples

rba_panther_genome(organism = 243273, page = 1)

Search PANTHER for Homologs of Gene(s)

Description

Using this function you can search and retrieve homolog of given gene(s).

Usage

rba_panther_homolog(genes, organism, type = "P", target_organisms = NULL, ...)

Arguments

genes

Character or Numeric: A vector of gene identifiers with maximum length of 10. Can be any of: Ensembl gene ID, Ensembl protein ID, Ensembl transcript ID, Entrez gene ID, gene symbol, NCBI GI, HGNC ID, International protein index ID, NCBI UniGene ID, UniProt accession and/or UniProt ID.

organism

Numeric: NCBI taxon ID of the organism of your supplied genes. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

type

Character: (default = "P") Homolog types to return. either "P" (default) for paralogs, "X" for horizontal gene transfer and "LDX" for least diverged horizontal gene transfer.

target_organisms

Numeric: (optional) NCBI taxon ID(s) to filter the results. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms. This argument is ignored for paralogs, which are searched within the input organism. For horizontal gene transfers, target organisms should differ from the input organism.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with homolog information.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/ortholog/homologOther"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_family(), rba_panther_genome(), rba_panther_info(), rba_panther_mapping(), rba_panther_ortholog(), rba_panther_tree_grafter()

Examples

rba_panther_homolog("OR4F5", organism = 9606, type = "P")

Get PANTHER database Information

Description

Using this function you can retrieve a list of available organisms, annotation datasets, families, and pathways which are supported in PANTHER.

Usage

rba_panther_info(what, organism_chr_loc = FALSE, families_page = 1, ...)

Arguments

what

Character: what information to retrieve? should be one of:

  • "organisms": Retrieve supported organisms in PANTHER.

  • "datasets": Retrieve available annotation datasets.

  • "families": Retrieve available family IDs.

  • "species_tree": Retrieve PANTHER's species tree.

  • "pathways" Retrieve available pathway IDs.

organism_chr_loc

Logical: (default = FALSE) (only when 'what = "organisms"') If TRUE, only organisms with chromosome location will be returned. If FALSE (default), all organisms will be returned.

families_page

Numeric: (default = 1) (only when 'what = "families"') Family information is very long, so results are returned in pages of up to 1,000 families. Use a positive whole number to define the page to retrieve.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

For families, a list containing family information, the requested page, and the total number of pages. For the species tree, a list; otherwise a data frame with pertinent information.

Corresponding API Resources

"GET https://www.pantherdb.org/services/oai/pantherdb/supportedgenomes"
"GET https://www.pantherdb.org/services/oai/pantherdb/supportedannotdatasets"
"GET https://www.pantherdb.org/services/oai/pantherdb/supportedpantherfamilies"
"GET https://www.pantherdb.org/services/oai/pantherdb/supportedpantherpathways"
"GET https://www.pantherdb.org/services/oai/pantherdb/speciestree"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_family(), rba_panther_genome(), rba_panther_homolog(), rba_panther_mapping(), rba_panther_ortholog(), rba_panther_tree_grafter()

Examples

rba_panther_info(what = "organisms")


rba_panther_info(what = "families", families_page = 4)

Map A Gene-set to PANTHER Database

Description

Using this function, you can search your genes in PANTHER database and retrieve attributes and annotations associated to your genes.

Usage

rba_panther_mapping(genes, organism, ...)

Arguments

genes

Character or Numeric: A vector of gene identifiers with maximum length of 5,000. Can be any of: Ensembl gene ID, Ensembl protein ID, Ensembl transcript ID, Entrez gene ID, gene symbol, NCBI GI, HGNC ID, International protein index ID, NCBI UniGene ID, UniProt accession and/or UniProt ID.

organism

Numeric: NCBI taxon ID. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing your unmapped inputs and mapped genes with pertinent information.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/geneinfo"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_family(), rba_panther_genome(), rba_panther_homolog(), rba_panther_info(), rba_panther_ortholog(), rba_panther_tree_grafter()

Examples

rba_panther_mapping(genes = c("Cd40", 7124, "ENSG00000203747", "P33681"),
    organism = 9606)

Search PANTHER for Orthologs of Gene(s)

Description

Using this function you can search and retrieve orthologs of given gene(s), and optionally return the corresponding position in the target organisms' protein sequences.

Usage

rba_panther_ortholog(
  genes,
  organism,
  type = "all",
  target_organisms = NULL,
  seq_pos = NULL,
  include_msa = NULL,
  ...
)

Arguments

genes

Character or Numeric: A vector of gene identifiers with maximum length of 10, or only one if seq_pos is supplied. Can be any of: Ensembl gene ID, Ensembl protein ID, Ensembl transcript ID, Entrez gene ID, gene symbol, NCBI GI, HGNC ID, International protein index ID, NCBI UniGene ID, UniProt accession and/or UniProt ID.

organism

Numeric: NCBI taxon ID of the organism of your supplied genes. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

type

Character: (default = "all") Ortholog types to return. either "all" (default) or "LDO" to only return least diverged orthologs.

target_organisms

Numeric: (optional) NCBI taxon ID(s) to filter the results. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

seq_pos

Numeric: (optional) A position in the protein's sequence of the supplied gene. should be in the range of the protein's length.

include_msa

Logical: (optional) Only if a sequence position is supplied, should MSA (Multiple Sequence Alignment) information be included in the results?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with Orthologs information.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/ortholog/matchortho"
"POST https://www.pantherdb.org/services/oai/pantherdb/ortholog/homologpos"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_family(), rba_panther_genome(), rba_panther_homolog(), rba_panther_info(), rba_panther_mapping(), rba_panther_tree_grafter()

Examples

rba_panther_ortholog("CD40", organism = 9606, type = "LDO")

PANTHER Tree Grafter

Description

Use this function to retrieve a PANTHER family's tree topology information with a node corresponding to your sequence grafted in the best location in that tree.

Usage

rba_panther_tree_grafter(protein_seq, target_organisms = NULL, ...)

Arguments

protein_seq

Character: A string with the protein's sequence. Maximum allowed sequence length is 50,000 characters.

target_organisms

Numeric: (optional) NCBI taxon ID(s) to filter the results. run rba_panther_info with argument 'what = "organisms"' to get a list of PANTHER's supported organisms.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

For more information, see: Haiming Tang, Robert D Finn, Paul D Thomas, TreeGrafter: phylogenetic tree-based annotation of proteins with Gene Ontology terms and other annotations, Bioinformatics, Volume 35, Issue 3, February 2019, Pages 518–520, doi:10.1093/bioinformatics/bty625

Value

A list containing PANTHER tree topology information.

Corresponding API Resources

"POST https://www.pantherdb.org/services/oai/pantherdb/graftsequence"

References

See Also

Other "PANTHER": rba_panther_enrich(), rba_panther_family(), rba_panther_genome(), rba_panther_homolog(), rba_panther_info(), rba_panther_mapping(), rba_panther_ortholog()

Examples

rba_panther_tree_grafter("MKVLWAALLVTFLAGCQAKVEQAVETE")

Reactome Over-Representation or Expression Analysis

Description

Using this function, you can perform Reactome Analysis In a convenient way. The Analysis Type will be chosen depending on your supplied input:

  1. If you supply a vector or a single-columned table, "Over-Representation" analysis will be performed.

  2. If you supply a multi-column table, with the first column being molecules identifiers and the rest being numeral expression values, "Expression" analysis will be performed.

See the details section for the accepted input types and format.

Usage

rba_reactome_analysis(
  input,
  input_format = NULL,
  projection = TRUE,
  interactors = FALSE,
  species = NULL,
  sort_by = "ENTITIES_PVALUE",
  order = "ASC",
  resource = "TOTAL",
  p_value = 1,
  include_disease = TRUE,
  min = NULL,
  max = NULL,
  ...
)

Arguments

input

Character, Numeric, Data frame or Matrix: A vector, data frame, matrix or a local file path or URL that points to your data. See "Details section" for more information of how to organize and supply your input.

input_format

Character: (optional) This function will automatically identify your supplied input's format. But in case of unexpected issues or if you want to be explicit, set this argument to one of:

  • "table": If you supplied a data frame or matrix as input.

  • "vector": If you supplied a simple vector (numeric or character) as input.

  • "file": If you supplied a local file path pointing to a correctly-formatted text file.

  • "url": If you supplied an HTTP or HTTPS URL pointing to a correctly-formatted text file.

An explicit value takes precedence. Otherwise, HTTP and HTTPS addresses are identified first, followed by existing local files, tables, and then other non-empty character or numeric inputs as identifier vectors.

projection

Logical: (default = TRUE) Should non-human identifiers be projected to their human equivalents? (using Reactome orthology data)

interactors

Logical: (default = FALSE) Should IntAct interaction data be used to increase the analysis background?

species

Character or Numeric: (optional) NCBI Taxonomy identifier (Human is 9606), species name (e.g. "Homo sapiens") or Reactome DbId (e.g Homo sapiens is 48887). See rba_reactome_species or Reactome Data Schema: Entries: Species. Note that you cannot supply the species parameter when projection parameter is TRUE.

sort_by

Character: (default = "ENTITIES_PVALUE") Sort the result based on what column? Available choices are: "NAME", "TOTAL_ENTITIES", "TOTAL_INTERACTORS", "TOTAL_REACTIONS", "FOUND_ENTITIES", "FOUND_INTERACTORS", "FOUND_REACTIONS", "ENTITIES_RATIO", "ENTITIES_PVALUE", "ENTITIES_FDR" or "REACTIONS_RATIO"

order

Character: (default = "ASC") Sort Order. Can be either "ASC" or "DESC".

resource

Character: (default = "TOTAL") Filter results based on the resource. Available choices are: "TOTAL", "UNIPROT", "ENSEMBL", "CHEBI", "IUPHAR", "MIRBASE", "NCBI_PROTEIN", "EMBL", "COMPOUND" or "PUBCHEM_COMPOUND".

p_value

Numeric: (default = 1) Set a P value threshold. Only results with P value equal to or less than your supplied threshold will be returned (1 means no P value filtering).

include_disease

Logical: (default = TRUE) Should the disease pathways be included in the results?

min

Numeric: (optional) Minimum number of entities that a pathways should have to be included in the results.

max

Numeric: (optional) Maximum number of entities that a pathways should have to be included in the results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

You can supply your table or vector input in numerous formats:

  1. An R object which can be a data frame, matrix, or simple vector.

  2. A path to a local text file in your device that contains the molecules data. (The file should be formatted correctly, see below.)

  3. An HTTP or HTTPS URL pointing to a text file on the web that contains the molecules data. (The file should be formatted correctly, see below.)

If you supply a text file (as a local file path or URL), it should be in TSV (Tab-Separated Values) format; the first column name should start with "#". Note that if you are providing the file for "Over-Representation" analysis (i.e. Single columned-data) this header line is optional and will be used as your 'Sample Name', otherwise it is required.
Also, form the "summary" element in the function's output, you can see how Reactome Interpreted your input and subsequently the type of analysis that has been performed.
There is no strict criteria about the type of your molecules Identifiers, Reactome will Map the IDs to it's internal database entities. Nevertheless, You can check if all your identifiers has been found in "identifiersNotFound" element in the function's output.
After any analysis, Reactome will associate a token with your analysis. It can later be used in functions that require the token (e.g. to retrieve the analysis results, download pdf).
Note that Reactome will store your token for only 7 days. You can download your full results with rba_reactome_analysis_download, and re-import it anytime to reactome (using rba_reactome_analysis_import) to generate a new token.

Value

A list containing the results and information about the analysis. The pathways element is a data frame with information about each pathway expanded into columns; it is an empty data frame when no pathways match. The token in results$summary$token can be used to retrieve the results later or in other Reactome analysis functions.

Corresponding API Resources

"POST https://reactome.org/AnalysisService/identifiers/form"
"POST https://reactome.org/AnalysisService/identifiers/form/projection"
"POST https://reactome.org/AnalysisService/identifiers/url"
"POST https://reactome.org/AnalysisService/identifiers/url/projection"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Analysis Service": rba_reactome_analysis_download(), rba_reactome_analysis_import(), rba_reactome_analysis_mapping(), rba_reactome_analysis_pdf(), rba_reactome_analysis_species(), rba_reactome_analysis_token()

Other "Enrichment/Over-representation": rba_enrichr(), rba_mieaa_enrich(), rba_panther_enrich(), rba_string_enrichment(), rba_string_enrichment_image()

Examples

## Not run: 
rba_reactome_analysis(input = c("p53", "BRCA1", "cdk2", "Q99835", "CDC42"))

## End(Not run)
## Not run: 
rba_reactome_analysis(input = "c:/rbioapi/genes.txt")

## End(Not run)
## Not run: 
rba_reactome_analysis(input = "https://example.com/genes.txt")

## End(Not run)

Download Different Reactome Analysis Results

Description

Based on the "request" argument, you can download different analysis results data associated with a given token.

Usage

rba_reactome_analysis_download(
  token,
  request,
  save_to = NULL,
  resource = "TOTAL",
  ...
)

Arguments

token

Character: A token associated to your previous Reactome analysis.

request

Character: What to download? Should be one of:

  • "found_ids": Download a CSV file containing the found user-supplied identifiers in the analysis associated with your supplied token and resource.

  • "not_found_ids"" Download a CSV file containing the user-supplied Identifiers which has not been found in the analysis associated with your supplied token.

  • "pathways": Download a CSV file containing Pathway analysis results of the analysis associated with your supplied token and resource.

  • "results": Download a JSON file containing the complete analysis results associated with your supplied token.

  • "results_gz" Same as "results", but the output will be compress (gzipped).

save_to

Character: (optional)

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

resource

Character: (default = "TOTAL") (Only when request is "found_ids" or "pathways") Filter results based on the resource. Available choices are:"TOTAL", "UNIPROT", "ENSEMBL", "CHEBI", "IUPHAR", "MIRBASE", "NCBI_PROTEIN", "EMBL", "COMPOUND" or "PUBCHEM_COMPOUND".

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Token is associated to each Reactome analysis results and kept by Reactome for at least 7 days. You can locate it in rba_reactome_analysis's output, under a sub-list named "summary" (i.e. results$summary$token).
Use rba_reactome_analysis_pdf to save a full report in PDF format.

Value

NULL, a CSV,JSON or Gzipped JSON file will be saved to disk based on your input.

Corresponding API Resources

GET https://reactome.org/AnalysisService/download/{token}/entities/ found/{resource}/{filename}.csv"
GET https://reactome.org/AnalysisService/download/{token}/entities/ notfound/{filename}.csv"
GET https://reactome.org/AnalysisService/download/{token}/pathways/ {resource}/{filename}.csv"
GET https://reactome.org/AnalysisService/download/{token}/result.json"
GET https://reactome.org/AnalysisService/download/{token}/result.json.gz"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_analysis_pdf rba_reactome_analysis

Other "Reactome Analysis Service": rba_reactome_analysis(), rba_reactome_analysis_import(), rba_reactome_analysis_mapping(), rba_reactome_analysis_pdf(), rba_reactome_analysis_species(), rba_reactome_analysis_token()

Examples

## Not run: 
rba_reactome_analysis_download(token = "MjAyMDEwMTYwMTI3MTNfMjY1MjM",
    request = "pathways", save_to = "found_ids.csv")

## End(Not run)
## Not run: 
rba_reactome_analysis_download(token = "MjAyMDEwMTYwMTI3MTNfMjY1MjM",
    request = "found_ids", save_to = "found_ids.csv")

## End(Not run)

Import Saved Analysis JSON to Reactome

Description

If you have a JSON file of analysis results (only obtained via rba_reactome_analysis_download with the result argument set to "results", or "results_gz"), you can import the results back to Reactome and retrieve a token.
This is useful when you want to use other Reactome services which require a token but you do not have a token or your token has been expired (i.e. more than 7 days passed from your analysis).

Usage

rba_reactome_analysis_import(input, input_format = NULL, ...)

Arguments

input

Character: A local file path or HTTP or HTTPS URL that points to plain or gzipped saved analysis results.

input_format

Character: (optional) This function will automatically identify your supplied input's format. To be explicit, set this argument to one of:

  • "file": If you supplied a local file path pointing to the saved results file.

  • "url": If you supplied an HTTP or HTTPS URL pointing to the saved results file.

An explicit value takes precedence. Otherwise, HTTP and HTTPS addresses are identified before existing local files. Other inputs are rejected.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the new token and other information of your imported results.

Corresponding API Resources

"POST https://reactome.org/AnalysisService/import/form"
"POST https://reactome.org/AnalysisService/import/url"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Analysis Service": rba_reactome_analysis(), rba_reactome_analysis_download(), rba_reactome_analysis_mapping(), rba_reactome_analysis_pdf(), rba_reactome_analysis_species(), rba_reactome_analysis_token()

Examples

## Not run: 
rba_reactome_analysis_import("c:/rbioapi/res.json")

## End(Not run)
## Not run: 
rba_reactome_analysis_import("https://qaz.com/res.json.gz")

## End(Not run)

Maps Molecule Identifiers

Description

Use this function to map molecule identifiers of different species to Reactome Identifiers.

Usage

rba_reactome_analysis_mapping(
  input,
  input_format = NULL,
  projection = TRUE,
  interactors = FALSE,
  ...
)

Arguments

input

Character or Numeric: A vector, local file path or URL that points to your identifiers list.

input_format

Character: (optional) This function will automatically identify your supplied input's format. To be explicit, set this argument to one of:

  • "vector": If you supplied a simple vector (numeric or character) as input.

  • "file": If you supplied a local file path pointing to a correctly-formatted text file.

  • "url": If you supplied an HTTP or HTTPS URL pointing to a correctly-formatted text file.

An explicit value takes precedence. Otherwise, HTTP and HTTPS addresses are identified first, followed by existing local files, and then other non-empty character or numeric inputs as identifier vectors.

projection

Logical: (default = TRUE) Should non-human identifiers be projected to their human equivalents? (using Reactome orthology data)

interactors

Logical: (default = FALSE) Should IntAct interaction data be included?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

List containing your identifiers and the IDS and resources they are mapped to.

Corresponding API Resources

"POST https://reactome.org/AnalysisService/mapping/form"
"POST https://reactome.org/AnalysisService/mapping/form/projection"
"POST https://reactome.org/AnalysisService/mapping/url"
"POST https://reactome.org/AnalysisService/mapping/url/projection"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Analysis Service": rba_reactome_analysis(), rba_reactome_analysis_download(), rba_reactome_analysis_import(), rba_reactome_analysis_pdf(), rba_reactome_analysis_species(), rba_reactome_analysis_token()

Examples

## Not run: 
rba_reactome_analysis_mapping(c("Q8SQ34", "cd40"))

## End(Not run)

Generate PDF file with Reactome Analysis Results

Description

Use this function to save a detailed report of your previous analysis (That you have done with rba_reactome_analysis). You need to supply a 'token' associated to your previous analysis.

Usage

rba_reactome_analysis_pdf(
  token,
  species,
  save_to = NULL,
  number = 25,
  resource = "TOTAL",
  diagram_profile = "Modern",
  analysis_profile = "Standard",
  fireworks_profile = "Barium Lithium",
  ...
)

Arguments

token

Character: A token associated to your previous Reactome analysis.

species

Character or Numeric: NCBI Taxonomy identifier (Human Taxonomy ID is 9606.) or species name (e.g. "Homo sapiens"). See rba_reactome_species or Reactome Data Schema: Entries: Species.

save_to

Character: (optional)

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

number

Numeric: (default = 25) Positive integer giving the maximum number of pathways to include in the report.

resource

Character: (default = "TOTAL") Filter results based on the resource. Available choices are: "TOTAL", "UNIPROT", "ENSEMBL", "CHEBI", "IUPHAR", "MIRBASE", "NCBI_PROTEIN", "EMBL", "COMPOUND" or "PUBCHEM_COMPOUND".

diagram_profile

Character: (default = "Modern") Color profile of diagrams, should be either "Modern" or "Standard".

analysis_profile

Character: (default = "Standard") Color profile of analysis, should be one of: "Standard", "Strosobar" or "Copper Plus".

fireworks_profile

Character: (default = "Barium Lithium") Color profile of the overview diagram, should be one of: "Cooper", "Cooper Plus", "Barium Lithium" or "Calcium Salts".

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Token is associated to each Reactome analysis results and kept by Reactome for at least 7 days. You can locate it in rba_reactome_analysis's output, under a sub-list named "summary" (i.e. results$summary$token).
Note that Reactome will store your token for only 7 days. You can download your full results with rba_reactome_analysis_download, and re-import it anytime to reactome (using rba_reactome_analysis_import) to generate a new token. Use rba_reactome_analysis_download to save your results in other formats.

Value

NULL, a PDF file will be saved to disk.

Corresponding API Resources

"GET https://reactome.org/AnalysisService/report/{token}/{species}/ {filename}.pdf"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_analysis_download rba_reactome_analysis

Other "Reactome Analysis Service": rba_reactome_analysis(), rba_reactome_analysis_download(), rba_reactome_analysis_import(), rba_reactome_analysis_mapping(), rba_reactome_analysis_species(), rba_reactome_analysis_token()

Examples

## Not run: 
rba_reactome_analysis_pdf(token = "MjAyMDEwMTYwMTI3MTNfMjY1MjM%3D",
    species = 9606, save_to = "my_analysis.pdf")

## End(Not run)

Compare Human Pathways with with Other Species

Description

Use This function to Compare human's manually-curated pathways and computationally inferred pathways (orthologous) in other species.

Usage

rba_reactome_analysis_species(
  species_dbid,
  sort_by = "ENTITIES_PVALUE",
  order = "ASC",
  resource = "TOTAL",
  p_value = 1,
  min = NULL,
  max = NULL,
  ...
)

Arguments

species_dbid

Numeric: Reactome DbId (e.g Mus musculus is 48892) of the species you want to compare with Homo sapiens. See rba_reactome_species or Reactome Data Schema: Entries: Species.

sort_by

Character: (default = "ENTITIES_PVALUE") Sort the result based on what column? Available choices are: "NAME", "TOTAL_ENTITIES", "TOTAL_INTERACTORS", "TOTAL_REACTIONS", "FOUND_ENTITIES", "FOUND_INTERACTORS", "FOUND_REACTIONS", "ENTITIES_RATIO", "ENTITIES_PVALUE", "ENTITIES_FDR" or "REACTIONS_RATIO".

order

Character: (default = "ASC") Sort Order. Can be either "ASC" or "DESC".

resource

Character: (default = "TOTAL") Filter results based on the resource. Available choices are: "TOTAL", "UNIPROT", "ENSEMBL", "CHEBI", "IUPHAR", "MIRBASE", "NCBI_PROTEIN", "EMBL", "COMPOUND" or "PUBCHEM_COMPOUND".

p_value

Numeric: (default = 1) Set a P value threshold. Only results with P value equal to or less than your supplied threshold will be returned (1 means no P value filtering).

min

Numeric: (optional) Minimum number of entities that a pathways should have to be included in the results.

max

Numeric: (optional) Maximum number of entities that a pathways should have to be included in the results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Reactome incorporate manually curated human reactions and PANTHER's protein homology data to Computationally infer events in other eukaryotic species.
Reactome uses an orthology-based approach to project curated human events to supported non-human species. See Reactome Computationally Inferred Events for more information.

Value

A list containing the comparison results. The pathways element is a data frame with information about each pathway expanded into columns; it is an empty data frame when no pathways match.

Corresponding API Resources

"GET https://reactome.org/AnalysisService/species/homoSapiens/{species}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_orthology

Other "Reactome Analysis Service": rba_reactome_analysis(), rba_reactome_analysis_download(), rba_reactome_analysis_import(), rba_reactome_analysis_mapping(), rba_reactome_analysis_pdf(), rba_reactome_analysis_token()

Examples

rba_reactome_analysis_species(species_dbid = 48892)

Return the Results Associated with a Token

Description

Use a token generated After a Reactome analysis (via rba_reactome_analysis) to Retrieve the analysis results. The output format is identical to the returned object of rba_reactome_analysis.

Usage

rba_reactome_analysis_token(
  token,
  species = NULL,
  sort_by = "ENTITIES_PVALUE",
  order = "ASC",
  resource = "TOTAL",
  p_value = 1,
  include_disease = TRUE,
  min = NULL,
  max = NULL,
  ...
)

Arguments

token

Character: A token associated to your previous Reactome analysis.

species

Character or Numeric: (optional) NCBI Taxonomy identifier (Human is 9606), species name (e.g. "Homo sapiens") or Reactome DbId (e.g. Homo sapiens is 48887). See rba_reactome_species or Reactome Data Schema: Entries: Species.

sort_by

Character: (default = "ENTITIES_PVALUE") Sort the result based on what column? Available choices are: "NAME", "TOTAL_ENTITIES", "TOTAL_INTERACTORS", "TOTAL_REACTIONS", "FOUND_ENTITIES", "FOUND_INTERACTORS", "FOUND_REACTIONS", "ENTITIES_RATIO", "ENTITIES_PVALUE", "ENTITIES_FDR" or "REACTIONS_RATIO".

order

Character: (default = "ASC") Sort Order. Can be either "ASC" or "DESC".

resource

Character: (default = "TOTAL") Filter results based on the resource. Available choices are: "TOTAL", "UNIPROT", "ENSEMBL", "CHEBI", "IUPHAR", "MIRBASE", "NCBI_PROTEIN", "EMBL", "COMPOUND" or "PUBCHEM_COMPOUND".

p_value

Numeric: (default = 1) Set a P value threshold. Only results with P value equal to or less than your supplied threshold will be returned (1 means no P value filtering).

include_disease

Logical: (default = TRUE) Should the disease pathways be included in the results?

min

Numeric: (optional) Minimum number of entities that a pathways should have to be included in the results.

max

Numeric: (optional) Maximum number of entities that a pathways should have to be included in the results.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

After any analysis, Reactome will associate a token with your analysis. It can later be used in functions that require the token (e.g. to retrieve the analysis results, download pdf).
Note that Reactome will store your token for only 7 days. You can download your full results with rba_reactome_analysis_download, and re-import it anytime to reactome (using rba_reactome_analysis_import) to generate a new token.

Value

A list containing the results and information about the analysis. The pathways element is a data frame with information about each pathway expanded into columns; it is an empty data frame when no pathways match. Its structure is the same as the output from rba_reactome_analysis.

Corresponding API Resources

"GET https://reactome.org/AnalysisService/token/{token}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_analysis

Other "Reactome Analysis Service": rba_reactome_analysis(), rba_reactome_analysis_download(), rba_reactome_analysis_import(), rba_reactome_analysis_mapping(), rba_reactome_analysis_pdf(), rba_reactome_analysis_species()

Examples

## Not run: 
rba_reactome_analysis_token(token = "MjAyMDEwMTYwMTI3MTNfMjY1MjM",
    species = 9606)

## End(Not run)

Get Complexes That Include a Molecule

Description

This function will retrieve a list of complexes that include your supplied molecule as a component.

Usage

rba_reactome_complex_list(id, resource, ...)

Arguments

id

Character: Molecule's external Identifier

resource

Character: What is the resource of your supplied ID? see: Reactome External Identifiers

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Data frame where each row is a complex containing your supplied molecule and columns are pertinent information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/complexes/{resource}/ {identifier}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Physical Entity Queries": rba_reactome_complex_subunits(), rba_reactome_entity_other_forms(), rba_reactome_participant_of()

Examples

rba_reactome_complex_list(id = "3845", resource = "NCBI Gene")


rba_reactome_complex_list(id = "P00533", resource = "UniProt")

Get a Complex's Subunits

Description

This function will return a list of subunits which are participants of your supplied complex.

Usage

rba_reactome_complex_subunits(complex_id, exclude_structures = FALSE, ...)

Arguments

complex_id

Character: Reactome stable Identifier of the complex.

exclude_structures

Logical: (default = FALSE) Should the contained complexes and entity sets be excluded from the results?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Subunits will be returned recursively; Which means that if a subunit was itself a complex, subunit of that complex will be also returned in the results.

Value

Data frame which each row is a subunit of your supplied complex and the columns are pertinent information of that subunit.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/complex/{id}/subunits"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Physical Entity Queries": rba_reactome_complex_list(), rba_reactome_entity_other_forms(), rba_reactome_participant_of()

Examples

rba_reactome_complex_subunits(complex_id = "R-HSA-5674003",
    exclude_structures = FALSE)

Reactome Diseases

Description

This function Retrieve a list of all diseases or disease DOIDs annotated in Reactome.

Usage

rba_reactome_diseases(doid = FALSE, ...)

Arguments

doid

Logical: (default = FALSE) Return disease DOIDs instead of diseases?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Data frame containing all the disease annotation available at Reactome. If doid was set to TRUE, DOID info will be returned instead.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/diseases"
"GET https://reactome.org/ContentService/data/diseases/doid"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

Examples

rba_reactome_diseases()


rba_reactome_diseases(doid = TRUE)

Get Other forms of a Reactome Entity

Description

This function retrieve a list containing all other forms of your supplied Physical Entity ID.

Usage

rba_reactome_entity_other_forms(entity_id, ...)

Arguments

entity_id

Character: Reactome's entity ID.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

According to Reactome API documentation, "These other forms are Physical Entities that share the same Reference Entity identifier, e.g. PTEN H93R R-HSA-2318524 and PTEN C124R R-HSA-2317439 are two forms of PTEN."

Value

Data frame where each row is other forms of your supplied Entity ID and columns are pertinent information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/entity/{id}/otherForms"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Physical Entity Queries": rba_reactome_complex_list(), rba_reactome_complex_subunits(), rba_reactome_participant_of()

Examples

rba_reactome_entity_other_forms("R-HSA-199420")

Get Reactome Events Ancestors

Description

Along with Reactome's events hierarchy, This function will retrieve all the events beginning from your supplied event up to the "Top level Pathway". see "Details section" for more information.

Usage

rba_reactome_event_ancestors(event_id, ...)

Arguments

event_id

Character: Reactome event's identifier.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

By Reactome's definition, Events are the building blocks of biological processes and could be of two main classes: "Pathway" or "Reaction-like events". The events are organized in a hierarchical structure; and each event could be child or parent to another event; The hierarchy will always begin with a "Top level pathway" event. Also note that a given event could be part of more that one hierarchies.

Value

List which every element is a Data frame listing your supplied event along with it's ancestor events. Because any given event can be part of more than one pathway hierarchy, the list may contain multiple data frames.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/event/{id}/ancestors"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Queries Related to Events": rba_reactome_event_hierarchy()

Examples

rba_reactome_event_ancestors("R-HSA-5673001")

Retrieve the Reactome Event Hierarchy of a Species

Description

Retrieve the full hierarchy of pathways and reaction-like events for a species, or restrict the hierarchy to pathways. The hierarchy begins with top-level pathways and can be traversed through the children field. Because an event can participate in more than one biological process, it may occur in more than one place in the hierarchy.

Usage

rba_reactome_event_hierarchy(
  species,
  pathways_only = FALSE,
  token = NULL,
  resource = "TOTAL",
  interactors = FALSE,
  importable_only = FALSE,
  ...
)

Arguments

species

Character or Numeric: NCBI Taxonomy identifier (Human Taxonomy ID is 9606.) or species name (e.g. "Homo sapiens"). See rba_reactome_species or Reactome Data Schema: Entries: Species.

pathways_only

Logical: (default = FALSE) Should reaction-like events be omitted from the hierarchy?

token

Character: (optional) Reactome analysis token whose results should be added to the hierarchy. See rba_reactome_analysis.

resource

Character: (default = "TOTAL") Analysis resource to add when a token is supplied. Available choices are: "TOTAL", "UNIPROT", "ENSEMBL", "CHEBI", "IUPHAR", "MIRBASE", "NCBI_PROTEIN", "EMBL", "COMPOUND", or "PUBCHEM_COMPOUND".

interactors

Logical: (default = FALSE) When a token is supplied, should interactor results be included?

importable_only

Logical: (default = FALSE) When a token is supplied, should the analysis results be restricted to importable resources?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

An analysis token can be supplied to add the corresponding analysis results to the hierarchy. The analysis resource can then be selected, and interactors or only importable resources can optionally be included.

Value

A nested list representing the species's event hierarchy. When an analysis token is supplied, the corresponding analysis information is included with the pathway entries.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/eventsHierarchy/{species}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Queries Related to Events": rba_reactome_event_ancestors()

Examples

## Not run: 
# Very large response
rba_reactome_event_hierarchy("Homo sapiens")

## End(Not run)
## Not run: 
# Restrict the hierarchy to pathways
rba_reactome_event_hierarchy(9606, pathways_only = TRUE)

## End(Not run)

Get a Reactome Event Diagram

Description

This function could be called in two scenarios:

  1. With create_document = FALSE: To retrieve an image of that event's Diagram.

  2. With create_document = TRUE: To retrieve a PDF document with the event's diagram image and additional information.

see "Details section" for more information

Usage

rba_reactome_exporter_diagram(
  event_id,
  save_to = NULL,
  create_document = FALSE,
  resource = "TOTAL",
  diagram_profile = "Modern",
  analysis_profile = "Standard",
  token = NULL,
  exp_column = NULL,
  document_level = 1,
  output_format = "png",
  image_quality = 5,
  flag_element = NULL,
  flg_interactors = TRUE,
  sel = NULL,
  title = TRUE,
  margin = 15,
  ehld = TRUE,
  ...
)

Arguments

event_id

Character: Reactome event's identifier.

save_to

Character: (optional)

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

create_document

Logical: (default = FALSE) Create PDF document instead of image?

resource

Character: (default = "TOTAL") The analysis resource for which the results will be overlaid on top of the given pathways overview.

diagram_profile

Character: (default = "Modern") Color profile of diagrams, should be either "Modern" or "Standard".

analysis_profile

Character: (default = "Standard") Color profile of analysis, should be one of: "Standard", "Strosobar" or "Copper Plus".

token

Character: (optional) The analysis Token for which the results will be overlaid on top of the given pathways overview. see: rba_reactome_analysis.

exp_column

Numeric: (optional) (only if token is supplied) Specify the expression column for the overlay.

document_level

Numeric: (default = 1) (Only if "create_document" is TRUE) use 0 to exclude the event's children or 1 to include them.

output_format

Character: (default = "png") (Only if "create_document" is FALSE) Image format of the saved diagram. Can be one of: png, jpg, jpeg, svg or gif.

image_quality

Numeric: (default = 5) (Only if "create_document" is FALSE), a number ranging from 1 to 10. 1 is the lowest quality and 10 is the highest.

flag_element

Character: (optional) (Only if "create_document" is FALSE) gene name, protein ID, chemical ID or Reactome ID of a diagram's element to be flagged.

flg_interactors

Logical: (default = TRUE) (Only if "create_document" is FALSE) Should the interactor be considered when flagging a diagram element?

sel

Character: (optional) (Only if "create_document" is FALSE) CSV line for highlighting element(s) selection in the diagram.

title

Logical: (default = TRUE) (Only if "create_document" is FALSE) Should the pathway name be displayed below the image?

margin

Numeric: (default = 15) (Only if "create_document" is FALSE) A number ranging from 0 to 20 to set as the image's margin.

ehld

Logical: (default = TRUE) (Only if "create_document" is FALSE) Should Enhanced High Level Diagrams be considered?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

If the function is called with create_document = FALSE:
The result will be an image with the format supplied in "output_format" argument. If the supplied event ID refers to a pathway, the image's content will be the that pathways diagram. If the supplied event ID refers to a sub-pathway or reaction event, the parent pathway's diagram will be exported, with that reaction or sub-pathway's events highlighted.
Note that to export an image of reaction-like event separately, you should use rba_reactome_exporter_reaction.
If the function is called with create_document = TRUE:
A PDF document will contain an image of the event's diagram and the following information of that events: Summation, Literature references, Edit history type, location, compartments and diseases. note that if you call the function with "document level = 1", information of your supplied event's children will also be included.

Value

NULL, Based to the inputs, an image or PDF file will be saved to disk.

Corresponding API Resources

"GET https://reactome.org/ContentService/exporter/diagram/{identifier} .{ext}"
"GET https://reactome.org/ContentService/exporter/document/event/ {identifier}.pdf"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_exporter_reaction rba_reactome_analysis

Other "Reactome Content Service - Format Exporter": rba_reactome_exporter_event(), rba_reactome_exporter_overview(), rba_reactome_exporter_reaction()

Examples

## Not run: 
rba_reactome_exporter_diagram(event_id = "R-HSA-177929",
  create_document = FALSE)

## End(Not run)
## Not run: 
rba_reactome_exporter_diagram(event_id = "R-HSA-6787403",
    create_document = FALSE)

## End(Not run)
## Not run: 
rba_reactome_exporter_diagram(event_id = "R-HSA-177929",
    create_document = TRUE)

## End(Not run)
## Not run: 
rba_reactome_exporter_diagram(event_id = "R-HSA-177929",
    output_format = "svg",
    save_to = "reactome_event_diagram.svg")

## End(Not run)

Exports A Reactome Event to SBGN or SBML

Description

This function will export a supplied Reactome Event (Pathway or Reaction) to a SBGN (Systems Biology Graphical Notation) or SBML (Systems Biology Markup Language)

Usage

rba_reactome_exporter_event(event_id, output_format, save_to = NULL, ...)

Arguments

event_id

Character: Reactome event's database IDs (DbId) or Stable IDs (StId).

output_format

Character: Either "sbgn" or "sbml".

save_to

Character: (optional)

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

NULL, According to the inputs, a SBGN or SBML file will be saved to disk.

Corresponding API Resources

"GET https://reactome.org/ContentService/exporter/event/ {identifier}.sbgn"
"GET https://reactome.org/ContentService/exporter/event/ {identifier}.sbml"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Format Exporter": rba_reactome_exporter_diagram(), rba_reactome_exporter_overview(), rba_reactome_exporter_reaction()

Examples

## Not run: 
rba_reactome_exporter_event(event_id = "R-HSA-177929",
    output_format = "sbgn",
    save_to = "R-HSA-177929.sbgn")

## End(Not run)
## Not run: 
rba_reactome_exporter_event(event_id = "R-HSA-177929",
    output_format = "sbgn")

## End(Not run)

Get a Reactome Pathway Overview

Description

This function will save a pathway overview of the supplied species as an image file.

Usage

rba_reactome_exporter_overview(
  species,
  output_format = "png",
  save_to = NULL,
  image_quality = 5,
  flag_element = NULL,
  flg_interactors = TRUE,
  sel = NULL,
  title = TRUE,
  margin = 15,
  diagram_profile = "Copper",
  token = NULL,
  resource = "TOTAL",
  exp_column = NULL,
  coverage = FALSE,
  ...
)

Arguments

species

Character or Numeric: NCBI Taxonomy identifier (Human Taxonomy ID is 9606.) or species name (e.g. "Homo sapiens"). See rba_reactome_species or Reactome Data Schema: Entries: Species.

output_format

Character: (default = "png") Image format, can be one of: png, jpg, jpeg, svg or gif.

save_to

Character: (optional)

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

image_quality

Numeric: (default = 5) A number ranging from 1 to 10. 1 is the lowest quality and 10 is the highest.

flag_element

Character: (optional) Gene name, protein ID, chemical ID or Reactome ID of a diagram's element to be flagged.

flg_interactors

Logical: (default = TRUE) Should the interactor be considered when flagging a diagram element?

sel

Character: (optional) CSV line for highlighting element(s) selection in the diagram.

title

Logical: (default = TRUE) Should the pathway name be displayed below the image?

margin

Numeric: (default = 15) A number ranging from 0 to 20 to set as the image's margin.

diagram_profile

Character: (default = "Copper") Color profile of the overview, should be one of "Copper", "Copper plus", "Barium Lithium" or "Calcium Salts".

token

Character: (optional) The analysis Token for which the results will be overlaid on top of the given pathways overview. see: rba_reactome_analysis.

resource

Character: (default = "TOTAL") The analysis resource for which the results will be overlaid on top of the given pathways overview.

exp_column

Numeric: (optional) (only if token is supplied) Specify the expression column for the overlay.

coverage

Logical: (default = FALSE) Should the analysis coverage values be overlaid?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

NULL, Based to the inputs, an image file will be saved to disk.

Corresponding API Resources

"GET https://reactome.org/ContentService/exporter/fireworks/{species}.{ext}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_analysis

Other "Reactome Content Service - Format Exporter": rba_reactome_exporter_diagram(), rba_reactome_exporter_event(), rba_reactome_exporter_reaction()

Examples

## Not run: 
rba_reactome_exporter_overview(species = 9606,
    output_format = "svg",
    save_to = "human_pathways.svg")

## End(Not run)
## Not run: 
rba_reactome_exporter_overview(species = 9606,
    token = 123456789)

## End(Not run)

Get a Reactome Reaction Event

Description

This function will Save a Reactome event of class "ReactionLikeEvent" as an image file.

Usage

rba_reactome_exporter_reaction(
  event_id,
  save_to = NULL,
  output_format = "png",
  resource = "TOTAL",
  diagram_profile = "Modern",
  analysis_profile = "Standard",
  token = NULL,
  exp_column = NULL,
  image_quality = 5,
  flag_element = NULL,
  flg_interactors = TRUE,
  sel = NULL,
  title = TRUE,
  margin = 15,
  ...
)

Arguments

event_id

Character: Reactome Reaction-like event's identifier.

save_to

Character: (optional)

  • NULL: Save the file to an automatically-generated path.

  • Character string: A valid file path to save the file to.

output_format

Character: (default = "png") Image format, can be one of: png, jpg, jpeg, svg or gif.

resource

Character: (default = "TOTAL") The analysis resource for which the results will be overlaid on top of the given pathways overview.

diagram_profile

Character: (default = "Modern") Color profile of diagrams, should be either "Modern" or "Standard".

analysis_profile

Character: (default = "Standard") Color profile of analysis, should be one of: "Standard", "Strosobar" or "Copper Plus".

token

Character: (optional) The analysis Token for which the results will be overlaid on top of the given pathways overview. see: rba_reactome_analysis.

exp_column

Numeric: (optional) (only if token is supplied) Specify the expression column for the overlay.

image_quality

Numeric: (default = 5) A number ranging from 1 to 10. 1 is the lowest quality and 10 is the highest.

flag_element

Character: (optional) Gene name, protein ID, chemical ID or Reactome ID of a diagram's element to be flagged.

flg_interactors

Logical: (default = TRUE) Should the interactor be considered when flagging a diagram element?

sel

Character: (optional) CSV line for highlighting element(s) selection in the diagram.

title

Logical: (default = TRUE) Should the pathway name be displayed below the image?

margin

Numeric: (default = 15) A number ranging from 0 to 20 to set as the image's margin.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Note that this function will save Reaction-like event separately and out of it's parent pathway context. To overlay a Reaction on it's parent pathway, use rba_reactome_exporter_diagram.

Value

NULL, Based to the inputs, an image file will be saved to disk.

Corresponding API Resources

"GET https://reactome.org/ContentService/exporter/reaction/ {identifier}.{ext}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_exporter_diagram rba_reactome_analysis

Other "Reactome Content Service - Format Exporter": rba_reactome_exporter_diagram(), rba_reactome_exporter_event(), rba_reactome_exporter_overview()

Examples

## Not run: 
rba_reactome_exporter_diagram(event_id = "R-HSA-6787403",
    create_document = FALSE)

## End(Not run)
## Not run: 
rba_reactome_exporter_diagram(event_id = "R-HSA-6787403",
     output_format = "svg",
     save_to = "reactome_reacion_image.svg")

## End(Not run)

The interface From Reactome to PSICQUIC

Description

You can call this function in two scenarios: 1- To retrieve information of all available PSICQUIC resources, call the function without providing any argument; i.e rba_reactome_interactors_psicquic(). 2-To retrieve a list of interactors of specific protein(s), fill out the function's arguments.

Usage

rba_reactome_interactors_psicquic(
  proteins = NULL,
  resource = NULL,
  details = TRUE,
  ...
)

Arguments

proteins

Character or Numeric: (optional) Proteins to retrieve PSICQUIC interactors.

resource

Character: (optional) The PSICQUIC resource for your supplied proteins. Call rba_reactome_interactors_psicquic() without argument to get the available options.

details

Logical: (default = TRUE) If TRUE a detailed list of interactors will be returned. If FALSE, only a summary of available interactors will be returned.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Depending your input, a list containing the detailed or summary of PSICQUIC interactions or a data frame of all registered PSICQUIC resources.

Corresponding API Resources

"POST https://reactome.org/ContentService/interactors/psicquic/molecules/ {resource}/details"
"POST https://reactome.org/ContentService/interactors/psicquic/molecules/ {resource}/summary"
"GET https://reactome.org/ContentService/interactors/psicquic/resources"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Molecule Interactors": rba_reactome_interactors_static()

Examples

rba_reactome_interactors_psicquic()


rba_reactome_interactors_psicquic(proteins = c("TP53", "MYC"),
    resource = "BioGrid",
    details = FALSE)


rba_reactome_interactors_psicquic(proteins = c("TP53", "MYC"),
    resource = "BioGrid",
    details = TRUE)

Get Static (IntAct) Interaction Information of a Protein

Description

Reactome maintains a locally hosted snapshot of the IntAct interactions database. Using this function, you can retrieve IntAct information for one or more proteins in two scenarios:

  1. If endpoint = "details" or endpoint = "summary", retrieve detailed or summary information for the supplied accessions.

  2. If endpoint = "pathways", retrieve Reactome pathways which include your supplied protein accession. Pathways with the class "TopLevelPathway" will be excluded.

Results depend on Reactome's current static interaction snapshot; a valid accession can therefore have no mapped pathways.

Usage

rba_reactome_interactors_static(
  proteins,
  endpoint = "details",
  only_diagrammed = FALSE,
  species = NULL,
  ...
)

Arguments

proteins

Character or Numeric: UniProt protein accession(s). If endpoint = "pathways", only a single protein accession can be supplied.

endpoint

Character: (default = "details") Can be one of:

  1. "details": Return detailed information for the supplied accessions.

  2. "summary": Return summary information for the supplied accessions.

  3. "pathways": Return pathways containing the interacting molecules (excluding the TopLevelPathway class).

only_diagrammed

Logical: (default = FALSE) (only when endpoint = "pathways") If TRUE, pathways without diagram will be excluded.

species

Character: (optional) (only when endpoint = "pathways") The scientific name of the species to search for pathways. See rba_reactome_species or Reactome Data Schema: Entries: Species.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

An R object containing the requested interaction information. Detailed and summary queries return information for each supplied protein; pathway queries return a data frame of matching Reactome pathways.

Corresponding API Resources

"POST https://reactome.org/ContentService/interactors/static/ molecules/details"
"POST https://reactome.org/ContentService/interactors/static/ molecules/summary"
"GET https://reactome.org/ContentService/interactors/static/molecule/ {identifier}/pathways"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Molecule Interactors": rba_reactome_interactors_psicquic()

Examples

## Not run: 
rba_reactome_interactors_static(proteins = "Q9BXM7-1",
    endpoint = "pathways", species = "Homo sapiens")

## End(Not run)

rba_reactome_interactors_static(proteins = c("Q9BXM7-1", "Q13501"),
    endpoint = "details")


rba_reactome_interactors_static(proteins = c("Q9BXM7-1", "Q13501"),
    endpoint = "summary")

Map External ID to Reactome Pathways/Reactions

Description

By providing an external identifier from a given resource, you can retrieve a list of pathways/reactions that include your supplied ID.

Usage

rba_reactome_mapping(id, resource, map_to, species = "Homo sapiens", ...)

Arguments

id

Character or Numeric: Molecule's external Identifier

resource

Character: What is the resource of your supplied ID? see: Reactome External Identifiers

map_to

Character: Either "pathways" or "reactions".

species

Character or Numeric: (default = "Homo sapiens") NCBI Taxonomy identifier (Human is 9606), species name (e.g. "Homo sapiens") or Reactome DbId (e.g Homo sapiens is 48887). See rba_reactome_species or Reactome Data Schema: Entries: Species.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Data frame where each row is a pathway/reaction and columns are pertinent information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/mapping/{resource}/ {identifier}/pathways"
"GET https://reactome.org/ContentService/data/mapping/{resource}/ {identifier}/reactions"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

Examples

rba_reactome_mapping(id = "PTEN", resource =  "UniProt",
    map_to = "reactions", species = 9606)

Get Orthologous (Computationally Inferred) Events

Description

Reactome incorporate manually curated human reactions and PANTHER's protein homology data to Computationally infer events in other eukaryotic species.

Usage

rba_reactome_orthology(event_ids, species_dbid, ...)

Arguments

event_ids

Character: Up to 20 human Reactome event IDs to retrieve their orthologous events.

species_dbid

Numeric: Reactome database ID (DbId) of the target species. (e.g Mus musculus is 48892). See rba_reactome_species or Reactome Data Schema: Entries: Species.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Reactome uses an orthology-based approach to project curated human events to supported non-human species. See Reactome Computationally Inferred Events for more information.

Value

List containing found Orthologous event(s) in your supplied species and their pertinent information.

Corresponding API Resources

"POST https://reactome.org/ContentService/data/orthologies/ids/ species/{speciesId}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_analysis_species

Examples

rba_reactome_orthology(event_ids = c("R-HSA-6799198", " R-HSA-72764"),
    species_dbid = 49633)

Get Larger Reactome Structures Which Include an Entity

Description

This function will retrieve a list of complexes and sets that Your supplied entity ID participates in (e.g. as a complex component, reaction output).

Usage

rba_reactome_participant_of(entity_id, ...)

Arguments

entity_id

Character: Reactome's entity ID.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

List of Reactome database Entities which Your supplied ID is a participant in them.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/entity/{id}/componentOf"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_participants

Other "Reactome Content Service - Physical Entity Queries": rba_reactome_complex_list(), rba_reactome_complex_subunits(), rba_reactome_entity_other_forms()

Examples

rba_reactome_participant_of(entity_id = "R-HSA-199420")

Get Participants of a Reactome Event

Description

Participating molecules in a Reactome comprises set of 'Physical Entity' and 'Reference Entities' class objects. Use this function to retrieve all, only 'Physical Entity' or only 'Reference Entities' participants of given event.

Usage

rba_reactome_participants(
  event_id,
  only_physical_entities = FALSE,
  only_reference_entities = FALSE,
  ...
)

Arguments

event_id

Character or Numeric: Reactome event's database ID (DbId) or Stable ID (StId).

only_physical_entities

Logical: (default = FALSE) If TRUE, only participating 'Physical Entities' will be returned.

only_reference_entities

Logical: (default = FALSE) If TRUE, only participating 'Reference Entities' will be returned.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

A 'Physical Entity' Instance could include an individual molecule, a multi-molecular complex or a set of molecule forming a group based on some characteristics. a single molecule can have different 'Physical Entity' instances based on it's associated attributes. For example, IgK Ig kappa chain, has two 'Physical Entity' instances; one, with ID "R-HSA-197041" refers to the secreted antibody protein to the extra-cellular region; And the second one is with ID "R-HSA-2038819" and refers to the plasma-membrane-integrated form of the antibody protein.
To make it possible to link multiple 'Physical Entity' instances of a molecule, Reactome uses a data class named "'Reference Entities'" which correspond to the invariant attribute of a molecule. for example, both of the above-mentioned 'Physical Entities' see a 'Reference Entities' named "UniProt:P01834 IGKC.
See Reactome Data Model for more information about the data model and Physical Entities.

Value

List with the participant of your supplied Event ID. A Data frame if only physical or 'Reference Entities' was requested.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/participants/{id}"
"GET https://reactome.org/ContentService/data/participants/{id}/ participatingPhysicalEntities"
"GET https://reactome.org/ContentService/data/participants/{id}/ referenceEntities"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_reactome_participant_of

Examples

rba_reactome_participants("R-HSA-5682012")


rba_reactome_participants("R-HSA-5682012", only_physical_entities = TRUE)


rba_reactome_participants("R-HSA-5682012", only_reference_entities = TRUE)

Get Events Contained in an Upstream Event

Description

Reactome events can contain other events; for example, a pathway can contain smaller pathways and reactions. This function recursively retrieves all events downstream of the supplied event, or one attribute of those events.

Usage

rba_reactome_pathways_events(event_id, attribute_name = NULL, ...)

Arguments

event_id

Character or Numeric: Reactome event's database ID (DbId) or Stable ID (StId).

attribute_name

Character: (optional) Optional event attribute to return instead of complete event records. See Reactome Data Schema: Event for available options.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Reactome defines events as the building blocks of biological processes. Events can be pathways or reaction-like events and are organized hierarchically. An event can be a child or parent of another event, each hierarchy begins with a top-level pathway, and an event can belong to more than one hierarchy.

When attribute_name is supplied, the function returns one value for each contained event whenever the individual values can be identified reliably. Empty values and line breaks within a value are preserved. Otherwise, the complete result is returned unchanged with a warning. When save_file is used, the saved file always contains the result exactly as supplied by Reactome.

Value

A list with information about the contained events. If attribute_name is supplied, one value for each contained event is returned. If the individual values cannot be identified reliably, the complete result is returned as a single value.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/pathway/{id}/ containedEvents"
"GET https://reactome.org/ContentService/data/pathway/{id}/ containedEvents/{attributeName}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Pathway Related Queries": rba_reactome_pathways_low(), rba_reactome_pathways_top()

Examples

rba_reactome_pathways_events(event_id = "R-HSA-5673001")


rba_reactome_pathways_events(event_id = "R-HSA-5673001",
    attribute_name = "stId")

Get lower level pathways Containing a 'Physical Entity' or Event

Description

Use this function to search the event hierarchy and retrieve a list of all lower level pathways (non TopLevelPathway class) that contain a given 'Physical Entity' or Event. See "Arguments section" on how to modify your search.

Usage

rba_reactome_pathways_low(
  entity_id,
  with_diagram = FALSE,
  all_forms = FALSE,
  species = NULL,
  ...
)

Arguments

entity_id

Character: The entity that should exist in the pathways.

with_diagram

Logical: (default = FALSE) only include pathways with diagram?

all_forms

Logical: (default = FALSE) should other variants of your supplied entity_id be considered? (e.g. same molecule but in different compartment, secretory form etc.) see rba_reactome_participants's "Details section" to learn more about how Reactome classifies molecules.

species

Character or Numeric: (optional) confine your search to a specific species by providing it's NCBI Taxonomy identifier (Human Taxonomy ID is 9606) or species name (e.g. "Homo sapiens"). See rba_reactome_species or Reactome Data Schema: Entries: Species.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Data frame where each row is a pathway that contains your supplied entity and columns are pertinent information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/pathways/low/entity/{id}"
"GET https://reactome.org/ContentService/data/pathways/low/diagram/ entity/{id}"
"GET https://reactome.org/ContentService/data/pathways/low/diagram/ entity/{id}/allForms"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Pathway Related Queries": rba_reactome_pathways_events(), rba_reactome_pathways_top()

Examples

rba_reactome_pathways_low(entity_id = "R-HSA-199420")


rba_reactome_pathways_low(entity_id = "R-HSA-199420", with_diagram = TRUE)


rba_reactome_pathways_low(entity_id = "R-HSA-199420", with_diagram = TRUE,
    all_forms = TRUE)

Get Top Level Pathways in a Species

Description

This function will Return a list of all pathways with the class "TopLevelPathway" which are annotated in your supplied species.

Usage

rba_reactome_pathways_top(species, ...)

Arguments

species

Character or Numeric: NCBI Taxonomy identifier (Human Taxonomy ID is 9606.) or species name (e.g. "Homo sapiens"). See rba_reactome_species or Reactome Data Schema: Entries: Species.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Reactome's events hierarchy for any species begins with pathways with class "TopLevelPathway" (e.g. "Immune System", "Metabolism of proteins"). further down in the event's hierarchy tree, each TopLevelPathway has has other events itself (e.g. "Adaptive immune system", "Innate immune system"). Based on the chosen pathway, the hierarchy tree would typically goes further down.

Value

Data frame where each row is a Top Level Pathway and columns are pertinent information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/pathways/top/{species}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Pathway Related Queries": rba_reactome_pathways_events(), rba_reactome_pathways_low()

Examples

rba_reactome_pathways_top(species = 9606)


rba_reactome_pathways_top(species = "Saccharomyces cerevisiae")

Get a Person by Identifier

Description

Get a Person by Identifier

Usage

rba_reactome_people_id(
  person_id,
  authored_pathways = FALSE,
  publications = FALSE,
  attribute_name = NULL,
  ...
)

Arguments

person_id

Character: Reactome database ID (DbId) or ORCID identifier.

authored_pathways

Logical: (default = FALSE) Only return Pathway list authored by the person?

publications

Logical: (default = FALSE) Only return publications list authored by the person?

attribute_name

Character: (optional) A Reactome person attribute to return only. see Reactome Data Schema: person for available options.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

List containing the requested informations of your supplied person.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/person/{id}"
"GET https://reactome.org/ContentService/data/person/{id}/ authoredPathways"
"GET https://reactome.org/ContentService/data/person/{id}/publications"
"GET https://reactome.org/ContentService/data/person/{id}/ {attributeName}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Person Queries": rba_reactome_people_name()

Examples

rba_reactome_people_id("391309")


rba_reactome_people_id(person_id = "391309", authored_pathways = TRUE)

Get Persons Information by Name

Description

Using this function you can query people by partially matching or exact name and retrieve a list of matching people in Reactome.

Usage

rba_reactome_people_name(person_name, exact_match = FALSE, ...)

Arguments

person_name

Character: first and last name of the person

exact_match

Logical: (default = FALSE) should the supplied name be considered as an exact match?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

List where each element is a search hit contains the person's information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/people/name/{name}"
"GET https://reactome.org/ContentService/data/people/name/{name}/exact"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

Other "Reactome Content Service - Person Queries": rba_reactome_people_id()

Examples

rba_reactome_people_name("Jupe")


rba_reactome_people_name("Steve Jupe", exact_match = TRUE)

Retrieve Reactome Knowledgebase Objects

Description

Retrieve one or more Reactome objects by database or stable identifier. A single object can be returned with additional related information or reduced to one of its attributes. Multiple identifiers can optionally be mapped to the corresponding current Reactome objects.

Usage

rba_reactome_query(
  ids,
  enhanced = FALSE,
  map = FALSE,
  attribute_name = NULL,
  fetch_incoming_relationships = TRUE,
  summarize_reference_entity = FALSE,
  include_disease = TRUE,
  ...
)

Arguments

ids

Character or Numeric: One or more database identifiers (DbIds), stable identifiers (StIds), or a mixture of both. At most 20 identifiers can be supplied.

enhanced

Logical: (default = FALSE) Should additional related information be retrieved? This can only be used with one identifier.

map

Logical: (default = FALSE) When multiple identifiers are supplied, should each input identifier be mapped to its current Reactome object? This is useful for previous versions of stable identifiers.

attribute_name

Character: (optional) Return only this attribute of a single Reactome object. This cannot be combined with enhanced = TRUE.

fetch_incoming_relationships

Logical: (default = TRUE) When enhanced = TRUE, should incoming relationships be included where they are relevant to the queried object?

summarize_reference_entity

Logical: (default = FALSE) When enhanced = TRUE and the queried object is a ReferenceEntity, should its physical forms be represented by a summary?

include_disease

Logical: (default = TRUE) When enhanced = TRUE, should disease-specific information be included?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

With enhanced = TRUE, Reactome also retrieves second-level relationships involving regulations and catalysts. The enhanced query can include incoming relationships and disease-specific information. When the queried object is a ReferenceEntity, its physical forms can instead be represented by a summary.

Value

An R object containing the requested Reactome object or objects. The returned fields depend on the type of each object. Mapped multiple-ID queries return a named list, and attribute queries return character values.

Corresponding API Resources

"POST https://reactome.org/ContentService/data/query/ids"
"POST https://reactome.org/ContentService/data/query/ids/map"
"GET https://reactome.org/ContentService/data/query/{id}"
"GET https://reactome.org/ContentService/data/query/enhanced/v2/{id}"
"GET https://reactome.org/ContentService/data/query/{id}/{attributeName}"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

Examples

rba_reactome_query(ids = c("8953958", "11982506", "R-ALL-9649879"))


rba_reactome_query(ids = "R-HSA-9656256", enhanced = TRUE)


rba_reactome_query(
  ids = 66247,
  enhanced = TRUE,
  summarize_reference_entity = TRUE
)


rba_reactome_query(ids = "8863054", attribute_name = "displayName")

Get Reactome Species

Description

Use this function to retrieve a table of Available species in Reactome.

Usage

rba_reactome_species(only_main = FALSE, ...)

Arguments

only_main

Logical: (default = FALSE) If set to TRUE, will only return species which have either manually-curated or computationally inferred pathways.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Data frame where each row is a species and columns are pertinent information.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/species/all"
"GET https://reactome.org/ContentService/data/species/main"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

Examples

rba_reactome_species()


rba_reactome_species(only_main = TRUE)

The version number of current database

Description

Returns the current version of Reactome database.

Usage

rba_reactome_version(...)

Arguments

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Character string containing the version of Reactome database.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/database/version"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

Examples

rba_reactome_version()

Map Cross-Reference Identifiers to Reactome

Description

Retrieve the Reactome reference entities associated with an identifier from an external database. With expanded = TRUE, also retrieve the other external identifiers associated with each reference entity and the stable identifiers of its physical forms in Reactome.

Usage

rba_reactome_xref(
  xref_id,
  expanded = FALSE,
  db_filter = NULL,
  page_size = 100,
  page = 1,
  ...
)

Arguments

xref_id

Character or Numeric: One or more cross-reference identifiers from external databases. Multiple identifiers can only be supplied when expanded = TRUE.

expanded

Logical: (default = FALSE) Should other external identifiers and associated Reactome physical forms also be retrieved?

db_filter

Character: (optional) When expanded = TRUE, restrict the returned cross-references to this external database name as used by Reactome, e.g. "ENSEMBL".

page_size

Numeric: (default = 100) For an expanded query with multiple identifiers, the number of supplied identifiers to process per page.

page

Numeric: (default = 1) For an expanded query with multiple identifiers, the one-based page to retrieve.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

Multiple identifiers can be supplied for an expanded query. Reactome processes these identifiers in pages, while a standard query accepts one identifier. See rba_reactome_participants for more information about how Reactome represents molecules.

Value

An R object containing the corresponding Reactome reference entities. Expanded results also contain associated cross-references and stable identifiers of physical entities. Expanded queries with multiple identifiers additionally contain pagination information.

Corresponding API Resources

"GET https://reactome.org/ContentService/references/mapping/{identifier}"
"POST https://reactome.org/ContentService/references/mapping/xrefs"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Content Services API Documentation

  • Citations note on Reactome website

See Also

rba_pages

Examples

rba_reactome_xref("CD40")


rba_reactome_xref("ENSP00000361350")


rba_reactome_xref("P36897", expanded = TRUE, db_filter = "ENSEMBL")


rba_reactome_xref(
  c("P36897", "Q5S007"),
  expanded = TRUE,
  db_filter = "ENSEMBL",
  page_size = 2,
  page = 1
)

Get Functional Annotations

Description

STRING cross-references proteins with several annotation resources. This function retrieves the complete set of annotations assigned to the input proteins, together with information about each term.

Usage

rba_string_annotations(
  ids,
  species = NULL,
  allow_pubmed = FALSE,
  split_df = TRUE,
  only_pubmed = FALSE,
  ...
)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but optional.)

allow_pubmed

Logical: (default = FALSE) Include PubMed annotations. These annotations are excluded by default because many publications may be assigned to each protein.

split_df

Logical: (default = TRUE) Split results into a list of data frames by category; otherwise, return one data frame.

only_pubmed

Logical: (default = FALSE) Return only PubMed annotations. This takes precedence over allow_pubmed.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

STRING currently retrieves annotations based on Gene Ontology (GO), UniProt Keywords, PubMed publications, Pfam domains, InterPro domains, SMART domains, and other resources including GWAS Catalog and Hallmark gene sets. Category availability depends on species. KEGG annotations are unavailable from this endpoint because of KEGG licensing restrictions.
This function returns annotations without enrichment filtering. To perform enrichment and retrieve only enriched terms, use rba_string_enrichment.

Value

A data frame in which every row is an assigned term and the columns contain the term category, description, number of genes, and other pertinent information. If split_df = TRUE, a list of data frames split by category is returned. With only_pubmed = TRUE, a one-element list named PMID is returned when PubMed annotations are available.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/functional_annotation? identifiers={your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_enrichment, rba_string_enrichment_image, rba_string_functional_terms

Other "STRING": rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

rba_string_annotations(ids = "TP53", species = 9606)

## Not run: 
rba_string_annotations(
    ids = "TP53",
    species = 9606,
    only_pubmed = TRUE
)

## End(Not run)

Get Functional Enrichment

Description

STRING cross-references proteins with several annotation resources. (See 'Details' section). Provide an input protein set and, optionally, a background protein set to perform an enrichment test and retrieve enriched terms with their associated statistics. Use rba_string_enrichment_image to retrieve the analysis results as a plot.

Usage

rba_string_enrichment(
  ids,
  species = NULL,
  background = NULL,
  split_df = TRUE,
  add_scores = FALSE,
  max_fdr = NULL,
  min_gene_count = NULL,
  min_strength = NULL,
  min_signal = NULL,
  merge_similarity = NULL,
  ...
)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information. Note that if only one ID is supplied, STRING expands the network by 10 proteins.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but optional.)

background

Character: (optional) A set of STRING protein IDs to be used as the statistical background (or universe) when computing term p-values. Only STRING IDs are accepted. See rba_string_map_ids to map your IDs.

split_df

Logical: (default = TRUE) Split results into a list of data frames by category; otherwise, return one data frame.

add_scores

Logical: (default = FALSE) Include strength (log10 of the observed-to-expected gene-count ratio) and signal (a size-aware score combining that ratio and enrichment significance).

max_fdr

Numeric: (optional) Maximum FDR, greater than 0 and no greater than 1. Only terms meeting this threshold are returned.

min_gene_count

Numeric: (optional) Minimum positive whole number of input genes assigned to a returned term.

min_strength

Numeric: (optional) Minimum enrichment strength.

min_signal

Numeric: (optional) Minimum enrichment signal.

merge_similarity

Numeric: (optional) Overlap threshold for merging terms based on their assigned input-gene sets, greater than 0 and no greater than 1. The most significant term is retained. A value of 1 merges only identical gene sets. Omit to retain unmerged terms.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

STRING currently returns enrichment results from Gene Ontology (GO), KEGG pathways, UniProt Keywords, PubMed publications, Pfam domains, InterPro domains, SMART domains, and other resources including GWAS Catalog and Hallmark gene sets. Category availability depends on species.
STRING returns only terms with a raw p-value below 0.1. To retrieve annotations without filtering by enrichment p-value, use rba_string_annotations.

Value

A data frame in which each row is an enriched term and the columns contain the term category, description, gene counts, p-value, FDR, and other pertinent information. If split_df = TRUE, a list of data frames split by category is returned. add_scores = TRUE adds numeric strength and signal columns. If no terms are returned, the result is a zero-row data frame.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/enrichment?identifiers= {your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_annotations, rba_string_enrichment_image, rba_string_functional_terms

Other "STRING": rba_string_annotations(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Other "Enrichment/Over-representation": rba_enrichr(), rba_mieaa_enrich(), rba_panther_enrich(), rba_reactome_analysis(), rba_string_enrichment_image()

Examples

rba_string_enrichment(ids = c("TP53", "TNF", "EGFR"), species = 9606)


## Include enrichment scores, filter results, and merge similar terms
rba_string_enrichment(
    ids = c("TP53", "MDM2", "CDKN1A", "BRCA1", "CDK1", "CDK2"),
    species = 9606,
    add_scores = TRUE,
    max_fdr = 0.05,
    min_gene_count = 2,
    merge_similarity = 0.8,
    split_df = FALSE
)

Get STRING Enrichment Plot

Description

Retrieve a plot that summarizes STRING functional-enrichment results. Use rba_string_enrichment to retrieve the results as a data frame.

Usage

rba_string_enrichment_image(
  ids,
  species = NULL,
  category = "Process",
  image_format = "image",
  save_image = TRUE,
  group_by_similarity = NULL,
  color_palette = "mint_blue",
  number_of_term_shown = 10,
  x_axis = "signal",
  sort_by = NULL,
  graph_type = "dotplot",
  max_fdr = NULL,
  min_gene_count = NULL,
  min_strength = NULL,
  min_signal = NULL,
  merge_similarity = NULL,
  ...
)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information. If only one ID is supplied, STRING expands the network by 10 proteins.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but required if your input contains more than 10 unique IDs.)

category

Character: (default = "Process") The term set to use for enrichment analysis. Valid values are:

  • Process: Biological Process (Gene Ontology)

  • Function: Molecular Function (Gene Ontology)

  • Component: Cellular Component (Gene Ontology)

  • Keyword: Annotated Keywords (UniProt)

  • KEGG: KEGG Pathways

  • RCTM: Reactome Pathways

  • HPO: Human Phenotype (Monarch)

  • MPO: The Mammalian Phenotype Ontology (Monarch)

  • DPO: Drosophila Phenotype (Monarch)

  • WPO: C. elegans Phenotype Ontology (Monarch)

  • ZPO: Zebrafish Phenotype Ontology (Monarch)

  • FYPO: Fission Yeast Phenotype Ontology (Monarch)

  • GWAS: GWAS Catalog

  • Hallmark: Hallmark Gene Set (Molecular Signatures DB)

  • Pfam: Protein Domains (Pfam)

  • SMART: Protein Domains (SMART)

  • InterPro: Protein Domains and Features (InterPro)

  • PMID: Reference Publications (PubMed)

  • NetworkNeighborAL: Local Network Cluster (STRING)

  • COMPARTMENTS: Subcellular Localization (COMPARTMENTS)

  • TISSUES: Tissue Expression (TISSUES)

  • DISEASES: Disease-gene Associations (DISEASES)

  • WikiPathways: WikiPathways

image_format

Character: (default = "image") One of:

  • "image": PNG image with normal resolution.

  • "highres_image": High-resolution PNG image.

  • "svg": Scalable Vector Graphics image.

save_image

Logical or Character: (default = TRUE)

  • TRUE: Save the image to an automatically-generated path.

  • FALSE: Do not save the image, just return it as an R object.

  • Character string: A valid file path to save the image to.

group_by_similarity

Numeric: (optional) Jaccard-index threshold used to group related terms visually. Valid values range from 0.1 to 1 in increments of 0.1. Omit to use STRING's default threshold of 0.8. This controls visual grouping; merge_similarity controls which terms are retained.

color_palette

Character: (default = "mint_blue") Color palette used to represent FDR values. Valid values are "mint_blue" (default), "lime_emerald", "green_blue", "peach_purple", "straw_navy", "yellow_pink", or "red_blue".

number_of_term_shown

Numeric: (default = 10) Maximum number of terms to include in the plot, from 1 to 100.

x_axis

Character: (default = "signal") Variable displayed on the x-axis. Valid values are "signal", "strength", "fdr", "count", or "gene_count". "FDR" is also accepted for "fdr".

sort_by

Character: (optional) Variable used to select and order terms. Valid values are "signal", "strength", "fdr", "count", or "gene_count". "FDR" is also accepted for "fdr". Omit to sort by the selected axis.

graph_type

Character: (default = "dotplot") Either "dotplot" or "barplot".

max_fdr

Numeric: (optional) Maximum FDR, greater than 0 and no greater than 1. Only terms meeting this threshold are shown.

min_gene_count

Numeric: (optional) Minimum positive whole number of input genes assigned to a displayed term.

min_strength

Numeric: (optional) Minimum enrichment strength.

min_signal

Numeric: (optional) Minimum enrichment signal.

merge_similarity

Numeric: (optional) Overlap threshold for merging terms based on their assigned input-gene sets, greater than 0 and no greater than 1. The most significant term is retained. A value of 1 merges only identical gene sets. Omit to retain unmerged terms.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A PNG image array or raw SVG content, depending on image_format. STRING can return empty content if no terms can be plotted. An empty PNG response is returned as a numeric array with dimensions c(0L, 0L, 4L); an empty SVG response is returned as raw(0). Both have length zero.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/enrichmentfigure? identifiers={your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_enrichment, rba_string_annotations, rba_string_functional_terms

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Other "Enrichment/Over-representation": rba_enrichr(), rba_mieaa_enrich(), rba_panther_enrich(), rba_reactome_analysis(), rba_string_enrichment()

Examples

## Not run: 
  rba_string_enrichment_image(
  ids = c("TP53", "TNF", "EGFR"),
  species = 9606,
  category = "KEGG"
  )

## End(Not run)
## Not run: 
  rba_string_enrichment_image(
  ids = c("TP53", "TNF", "EGFR"),
  species = 9606,
  x_axis = "strength",
  number_of_term_shown = 20
  )

## End(Not run)
## Not run: 
  rba_string_enrichment_image(
  ids = c("TP53", "TNF", "EGFR"),
  species = 9606,
  color_palette = "straw_navy"
  )

## End(Not run)
## Not run: 
  ## Display strength on the axis and select/order terms by FDR
  rba_string_enrichment_image(
  ids = c("TP53", "MDM2", "CDKN1A", "BRCA1", "CDK1", "CDK2"),
  species = 9606,
  category = "Hallmark",
  x_axis = "strength",
  sort_by = "fdr",
  graph_type = "barplot",
  color_palette = "red_blue",
  save_image = FALSE
  )

## End(Not run)

Get Protein-Protein Interaction Enrichment

Description

STRING compares the interaction pattern of your input proteins with the proteome-wide background interaction distribution to determine whether the protein set contains more interactions than expected.

Usage

rba_string_enrichment_ppi(
  ids,
  species = NULL,
  required_score = NULL,
  background = NULL,
  ...
)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but required if your input contains more than 10 unique IDs.)

required_score

Numeric: (optional) (between 0 and 1000): Minimum interaction score used when calculating PPI enrichment. If omitted, STRING applies a network-dependent threshold. Common confidence thresholds are 150 (low), 400 (medium), 700 (high), and 900 (highest).

background

Character: (optional) A set of STRING protein IDs to be used as the background proteome. Only STRING IDs are acceptable. See rba_string_map_ids to map your IDs.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list with protein-protein interaction enrichment results.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/ppi_enrichment?identifiers= {your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_interactions_network, rba_string_interaction_partners, rba_string_network_image

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

rba_string_enrichment_ppi(ids = c("p53", "BRCA1", "cdk2", "Q99835",
       "CDC42", "CDK1", "KIF23", "PLK1", "RAC2", "RACGAP1"),
    species = 9606)

Search STRING Functional Terms

Description

STRING maps several functional annotation resources onto its proteins. This function searches for functional terms using an identifier or descriptive text and retrieves the matching terms and their annotated proteins.

Usage

rba_string_functional_terms(term_text, species, ...)

Arguments

term_text

Character: A functional term identifier or descriptive text used to match one or more functional terms.

species

Numeric: A single NCBI Taxonomy identifier; Human Taxonomy ID is 9606.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame in which every row is a matching functional term, ordered by relevance with the best match first. The columns contain the term category, identifier, description, complete number of annotated proteins (proteinCount), preferred protein names, and STRING protein IDs. preferredNames and stringIds are returned as list-columns.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/functional_terms?term_text= {your_term}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_annotations, rba_string_enrichment, rba_string_enrichment_image

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

rba_string_functional_terms(
    term_text = "T cell receptor signaling pathway",
    species = 9606
)

Get Best Protein Similarity Hits Across Species

Description

Retrieve the highest Smith-Waterman bit-score hit between each input protein and proteins in every other STRING species. STRING uses these sequence-similarity scores as a proxy for protein homology.

Usage

rba_string_homology_inter(ids, species = NULL, species_b = NULL, ...)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.

species

Numeric: (optional) NCBI Taxonomy identifier of your input proteins; Human Taxonomy ID is 9606. (Recommended, but required if your input contains more than 10 unique IDs.)

species_b

Numeric: (optional) One or more NCBI Taxonomy identifiers used to restrict the search for closest homologs. The default is NULL, which searches all STRING species.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

To retrieve pairwise similarity scores among input proteins within one species, see rba_string_homology_intra.

STRING imports the similarity matrix from the Similarity Matrix of Proteins (SIMAP) project.

Value

A data frame containing each input protein and its closest homolog in every other STRING species, or in the species selected by species_b.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/homology_best? identifiers={your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_homology_intra

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

## Find the best hit in mouse and fruit fly for the human input protein
rba_string_homology_inter(ids = "CDK1",
    species = 9606,
    species_b = c(10090, 7227))


rba_string_homology_inter(ids = "ENSP00000269305", species = 9606)

Get Protein Similarity Scores Within a Species

Description

Retrieve Smith-Waterman bit scores among proteins from the same species. STRING uses these sequence-similarity scores as a proxy for protein homology.

Usage

rba_string_homology_intra(ids, species = NULL, ...)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but required if your input contains more than 10 unique IDs.)

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

To retrieve the best similarity hit for each input protein in other STRING species, see rba_string_homology_inter.

STRING imports the similarity matrix from the Similarity Matrix of Proteins (SIMAP) project.

Value

A data frame containing pairwise bit scores and self-hits for the supplied proteins. Both orientations of a pair can be returned.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/homology?identifiers= {your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_homology_inter

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

rba_string_homology_intra(ids = c("CDK1", "CDK2"), species = 9606)

Get All STRING Interaction Partners

Description

This function retrieves STRING interactions involving any of your input proteins as one party of the interaction, including interactions with proteins outside the input set.
Given the size of the STRING database, this function can return many interactions. Use the filtering arguments to limit the results.

Usage

rba_string_interaction_partners(
  ids,
  species = NULL,
  required_score = NULL,
  network_type = "functional",
  limit = NULL,
  network_flavor = NULL,
  typed_physical_edges = TRUE,
  typed_regulatory_edges = TRUE,
  ...
)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but required if your input contains more than 10 unique IDs.)

required_score

Numeric: (optional) (between 0 and 1000): Minimum interaction score required for an interaction to be included in the returned interactions. If omitted, STRING applies a network-dependent threshold. Common confidence thresholds are 150 (low), 400 (medium), 700 (high), and 900 (highest).

network_type

Character: (default = "functional") One of:

  • "functional": (default) Edges indicate both physical and functional associations.

  • "physical": Edges indicate that two proteins have a physical interaction or are parts of a complex.

  • "regulatory": Directed edges indicate regulation from a source protein to a target protein.

limit

Numeric: (optional) Maximum number of interaction partners returned for each input protein, ordered by confidence. This limits partners rather than response rows; directed or typed results can contain more rows.

network_flavor

Character: (optional) Set to "typed" to retrieve functional, physical, and directional regulatory scores in one response. Requires network_type = "functional". Omit for the ordinary schema.

typed_physical_edges

Logical: (default = TRUE) Include physical scores in a typed response. If FALSE, their columns contain missing values.

typed_regulatory_edges

Logical: (default = TRUE) Include regulatory scores in a typed response. If FALSE, their columns contain missing values.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

To retrieve only interactions among the input proteins, see rba_string_interactions_network.

Value

A data frame in which each row is a network interaction and the columns contain interactor information and interaction scores. Regulatory and typed requests use the corresponding schemas described in rba_string_interactions_network. Missing typed evidence scores are numeric NA.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/interaction_partners? identifiers={your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_interactions_network, rba_string_network_image, rba_string_enrichment_ppi

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

rba_string_interaction_partners(ids = c("9606.ENSP00000269305",
    "9606.ENSP00000398698",
    "9606.ENSP00000275493"),
    network_type = "functional")


    rba_string_interaction_partners(ids = "9606.ENSP00000269305",
    species = 9606,
    required_score = 700)


## Limit partners per input protein; directed results can contain more rows
rba_string_interaction_partners(
    ids = "TP53",
    species = 9606,
    network_type = "regulatory",
    limit = 5
)

Get STRING Network Interactions

Description

This function retrieves STRING interaction pairs among the input proteins and any added neighbors, including the combined score and separate scores for each evidence channel.

Usage

rba_string_interactions_network(
  ids,
  species = NULL,
  required_score = NULL,
  add_nodes = NULL,
  network_type = "functional",
  use_query_labels = FALSE,
  network_term_id = NULL,
  network_flavor = NULL,
  typed_physical_edges = TRUE,
  typed_regulatory_edges = TRUE,
  ...
)

Arguments

ids

Character or Numeric: Your protein IDs. It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.
Alternatively, you can retrieve interactions among proteins annotated with a STRING functional term by setting ids = NULL and supplying network_term_id.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. Required when using network_term_id; otherwise recommended, but required if your input contains more than 10 unique IDs.

required_score

Numeric: (optional) (between 0 and 1000): Minimum interaction score required for an interaction to be included in the returned network. If omitted, STRING applies a network-dependent threshold. Common confidence thresholds are 150 (low), 400 (medium), 700 (high), and 900 (highest).

add_nodes

Numeric: (optional) Number of neighboring proteins to add to the network. For identifier-based requests, if omitted, STRING determines the value from the number of input IDs:

  1. One ID: STRING adds 10 proteins to retrieve its interaction neighborhood.

  2. Multiple IDs: STRING adds no proteins, so only interactions among the input proteins are returned.

network_type

Character: (default = "functional") One of:

  • "functional": (default) Edges indicate both physical and functional associations.

  • "physical": Edges indicate that two proteins have a physical interaction or are parts of a complex.

  • "regulatory": Directed edges indicate regulation from a source protein to a target protein.

use_query_labels

Logical: (default = FALSE) Use the names supplied in ids as node labels instead of STRING's default labels.

network_term_id

Character: (optional) A functional term identifier (e.g. a Gene Ontology, KEGG, or Reactome identifier). Instead of using proteins supplied through ids, STRING constructs the network from proteins annotated with the specified term. Set ids = NULL and supply species.

network_flavor

Character: (optional) Set to "typed" to retrieve functional, physical, and directional regulatory scores in one response. Requires network_type = "functional". Omit for the ordinary schema.

typed_physical_edges

Logical: (default = TRUE) Include physical scores in a typed response. If FALSE, their columns contain missing values.

typed_regulatory_edges

Logical: (default = TRUE) Include regulatory scores in a typed response. If FALSE, their columns contain missing values.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

To retrieve interactions between your input proteins and all their STRING interaction partners, see rba_string_interaction_partners.

Value

A data frame in which each row is a network interaction and the columns contain interactor information and interaction scores:

  • stringId_A: STRING identifier (protein A)

  • stringId_B: STRING identifier (protein B)

  • preferredName_A: common protein name (protein A)

  • preferredName_B: common protein name (protein B)

  • ncbiTaxonId: NCBI taxon identifier

  • score: combined score

  • nscore: gene neighborhood score

  • fscore: gene fusion score

  • pscore: phylogenetic profile score

  • ascore: co-expression score

  • escore: experimental score

  • dscore: database score

  • tscore: textmining score


A network_type = "regulatory" response instead contains source_string_id, target_string_id, source_preferred_name, target_preferred_name, ncbiTaxonId, experimental_score, database_score, textmining_score, sign, and combined_score. Each row reports one direction from source to target; scores apply to that direction.
A network_flavor = "typed" response contains the ordinary identifier columns, evidence scores prefixed with functional_, physical_, and regulatory_, and sign. The combined-score columns are functional_combined_score, physical_combined_score, and regulatory_combined_score. Each functional pair is returned in both orientations. Physical scores are symmetric; regulatory scores and signs describe the direction from stringId_A to stringId_B. Missing or below-threshold relationships have numeric NA scores. Disabled overlays have NA score columns.
Scores range from 0 to 1; the request's required_score uses the 0 to 1000 scale. Regulatory signs are "pos", "neg", or "n/a".

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/network?identifiers= {your_identifiers}&{optional_parameters}"
"POST https://string-db.org/api/{output-format}/network?network_term_id= {your_term}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_interaction_partners, rba_string_network_image, rba_string_enrichment_ppi

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_map_ids(), rba_string_network_image(), rba_string_version()

Examples

rba_string_interactions_network(ids = c("9606.ENSP00000269305",
    "9606.ENSP00000398698",
    "9606.ENSP00000275493"),
    network_type = "functional")


rba_string_interactions_network(ids = c("9606.ENSP00000269305",
    "9606.ENSP00000398698",
    "9606.ENSP00000275493"),
    species = 9606,
    add_nodes = 10)


rba_string_interactions_network(
    ids = NULL,
    network_term_id = "GO:0050852",
    species = 9606,
    required_score = 900
)


## Retrieve directed regulatory interactions
rba_string_interactions_network(
    ids = c("TP53", "MDM2", "CDKN1A"),
    species = 9606,
    network_type = "regulatory"
)


## Retrieve typed scores without the physical overlay
rba_string_interactions_network(
    ids = c("TP53", "MDM2", "CDKN1A"),
    species = 9606,
    network_flavor = "typed",
    typed_physical_edges = FALSE
)

Map a Set of Identifiers to STRING Identifiers

Description

This function calls STRING's API to map a set of common gene or protein identifiers to STRING identifiers. Although STRING services accept a variety of identifiers, the STRING API documentation recommends mapping them to STRING identifiers before using other STRING functions.

Usage

rba_string_map_ids(ids, species = NULL, echo_query = TRUE, limit = NULL, ...)

Arguments

ids

Character or Numeric: Your common gene/protein identifier(s) to be mapped.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. (Recommended, but optional.)

echo_query

Logical: (default = TRUE) Include your input IDs as a column of the results.

limit

Numeric: (optional) Deprecated: Retained temporarily for backward compatibility. STRING v12 returns only the single best match per input ID, so this argument has no effect.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A data frame with at most one mapped STRING ID per input ID and other pertinent information. The queryIndex column contains the zero-based position of each resolved ID in the input vector. Unresolved inputs are omitted; if none can be resolved, a zero-row data frame retaining the response columns is returned.

Corresponding API Resources

"POST https://string-db.org/api/tsv/get_string_ids?identifiers= {your_identifiers}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_network_image(), rba_string_version()

Examples

rba_string_map_ids(ids = c("TP53", "TNF", "EGFR"), species = 9606)

Get STRING Network Image

Description

This function retrieves a static image of the interaction network among your input proteins and, where applicable, additional interactors. The available arguments control the network contents and appearance.

Usage

rba_string_network_image(
  ids,
  image_format = "image",
  save_image = TRUE,
  species = NULL,
  add_color_nodes = NULL,
  add_white_nodes = NULL,
  required_score = NULL,
  network_flavor = "evidence",
  network_type = "functional",
  hide_node_labels = FALSE,
  use_query_labels = FALSE,
  hide_disconnected_nodes = FALSE,
  hide_structure_pics = FALSE,
  flat_nodes = FALSE,
  node_labels_center = FALSE,
  node_labels_font_size = 12,
  network_term_id = NULL,
  typed_physical_edges = TRUE,
  typed_regulatory_edges = TRUE,
  show_regulatory_signs = TRUE,
  ...
)

Arguments

ids

Character or Numeric: Your protein ID(s). It is strongly recommended to supply STRING IDs. See rba_string_map_ids for more information.
Alternatively, you can retrieve the network of proteins annotated with a STRING functional term by setting ids = NULL and supplying network_term_id.

image_format

Character: (default = "image") One of:

  • "image": PNG image with normal resolution.

  • "highres_image": High-resolution PNG image.

  • "svg": Scalable Vector Graphics image.

save_image

Logical or Character: (default = TRUE)

  • TRUE: Save the image to an automatically-generated path.

  • FALSE: Do not save the image, just return it as an R object.

  • Character string: A valid file path to save the image to.

species

Numeric: (optional) NCBI Taxonomy identifier; Human Taxonomy ID is 9606. Required when using network_term_id; otherwise recommended, but required if your input contains more than 10 unique IDs.

add_color_nodes

Numeric: (optional) The number of colored nodes (queried proteins and first shell of interactors) to be added.

add_white_nodes

Numeric: (optional) The number of white nodes (second shell of interactors) to be added after colored nodes.

required_score

Numeric: (optional) (between 0 and 1000): Minimum interaction score required for an interaction to be included in the image. If omitted, STRING applies a network-dependent threshold. Common confidence thresholds are 150 (low), 400 (medium), 700 (high), and 900 (highest).

network_flavor

Character: (default = "evidence") The network-edge style. One of:

  • "evidence": (default) Edge colors indicate the types of evidence supporting each interaction.

  • "confidence": Edge thickness indicates the interaction confidence score.

  • "actions": Edge shape indicates the predicted mode of action.

  • "typed": Overlay physical and directed regulatory relationships on a functional network. Requires network_type = "functional".

network_type

Character: (default = "functional") One of:

  • "functional": (default) Edges indicate both physical and functional associations.

  • "physical": Edges indicate that two proteins have a physical interaction or are parts of a complex.

  • "regulatory": Directed edges indicate regulation from a source protein to a target protein.

hide_node_labels

Logical: (default = FALSE) Hide protein names from the image.

use_query_labels

Logical: (default = FALSE) Use the names supplied in ids as node labels instead of STRING's default labels.

hide_disconnected_nodes

Logical: (default = FALSE) Hide proteins that are not connected to any other protein.

hide_structure_pics

Logical: (default = FALSE) Hide protein structure images inside the nodes.

flat_nodes

Logical: (default = FALSE) Use a flat node design instead of the default 3D design.

node_labels_center

Logical: (default = FALSE) Center protein labels on the nodes.

node_labels_font_size

Numeric: (default = 12) Font size of the protein node labels, between 5 and 50.

network_term_id

Character: (optional) A functional term identifier (e.g. a Gene Ontology, KEGG, or Reactome identifier). Instead of using proteins supplied through ids, STRING constructs the network from proteins annotated with the specified term. Set ids = NULL and supply species.

typed_physical_edges

Logical: (default = TRUE) Include physical relationships when network_flavor = "typed".

typed_regulatory_edges

Logical: (default = TRUE) Include regulatory relationships when network_flavor = "typed".

show_regulatory_signs

Logical: (default = TRUE) Display positive and negative regulatory effects when available. Setting this to FALSE preserves direction but hides the regulatory effect.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A PNG image array or raw SVG content, depending on image_format.

Corresponding API Resources

"POST https://string-db.org/api/{output-format}/network?identifiers= {your_identifiers}&{optional_parameters}"
"POST https://string-db.org/api/{output-format}/network?network_term_id= {your_term}&{optional_parameters}"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

rba_string_map_ids, rba_string_interactions_network, rba_string_interaction_partners, rba_string_enrichment_ppi

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_version()

Examples

## Not run: 
rba_string_network_image(ids = c("9606.ENSP00000269305",
    "9606.ENSP00000398698",
    "9606.ENSP00000275493"),
    network_type = "functional",
    save_image = FALSE)

## End(Not run)
## Not run: 
rba_string_network_image(ids = c("TP53", "TNF", "EGFR"),
    species = 9606,
    save_image = TRUE)

## End(Not run)
## Not run: 
rba_string_network_image(ids = "9606.ENSP00000269305",
    image_format = "highres_image",
    save_image = file.path(getwd(), "TP53_network.png"))

## End(Not run)
## Not run: 
rba_string_network_image(
    ids = NULL,
    network_term_id = "GO:0050852",
    species = 9606,
    save_image = FALSE
)

## End(Not run)
## Not run: 
## Hide regulatory signs while preserving edge direction
rba_string_network_image(
    ids = c("TP53", "MDM2", "CDKN1A"),
    species = 9606,
    network_type = "regulatory",
    show_regulatory_signs = FALSE,
    save_image = FALSE
)

## End(Not run)
## Not run: 
## Show the physical overlay on a typed functional network
rba_string_network_image(
    ids = c("TP53", "MDM2", "CDKN1A"),
    species = 9606,
    network_flavor = "typed",
    typed_regulatory_edges = FALSE,
    save_image = FALSE
)

## End(Not run)

Get Current STRING Version

Description

Get the STRING version and stable address currently used by this package.

Usage

rba_string_version(...)

Arguments

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

STRING releases a new version approximately every two years. To support reproducibility, each release has a stable address that remains available after newer versions are released.

Value

A list with STRING version and stable address.

Corresponding API Resources

"GET https://string-db.org/api/{output-format}/version"

References

  • Damian Szklarczyk, Katerina Nastou, Mikaela Koutrouli, Rebecca Kirsch, Farrokh Mehryary, Radja Hachilif, Dewei Hu, Matteo E Peluso, Qingyao Huang, Tao Fang, Nadezhda T Doncheva, Sampo Pyysalo, Peer Bork, Lars J Jensen, Christian von Mering, The STRING database in 2025: protein networks with directionality of regulation, Nucleic Acids Research, Volume 53, Issue D1, 6 January 2025, Pages D730–D737, https://doi.org/10.1093/nar/gkae1113

  • STRING API Documentation

  • Citations note on STRING website

See Also

Other "STRING": rba_string_annotations(), rba_string_enrichment(), rba_string_enrichment_image(), rba_string_enrichment_ppi(), rba_string_functional_terms(), rba_string_homology_inter(), rba_string_homology_intra(), rba_string_interaction_partners(), rba_string_interactions_network(), rba_string_map_ids(), rba_string_network_image()

Examples

rba_string_version()

Get Antigens by UniProt Accession

Description

UniProt maps antigenic (antibody-binding) features from several sources to protein sequences. Retrieve the features mapped to one UniProtKB accession.

Usage

rba_uniprot_antigens(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the antigenic features mapped to the requested UniProt protein sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/antigen/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Antigen": rba_uniprot_antigens_search()

Examples

rba_uniprot_antigens("P04626")

Get Genomic Coordinates of a Protein

Description

Retrieve genomic coordinates for a protein using either its UniProt accession or its ID in a cross-reference database (Ensembl, CCDS, HGNC, or RefSeq). You should supply either accession alone or db_type and db_id together.

Usage

rba_uniprot_coordinates(accession = NULL, db_type = NULL, db_id = NULL, ...)

Arguments

accession

Character: (optional) UniProtKB primary or secondary accession.

db_type

Character: (optional) Cross-reference database name. One of "Ensembl", "CCDS", "HGNC", or "RefSeq".

db_id

Character: (optional) Protein identifier in the cross-reference database.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the requested protein's genomic coordinates.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/coordinates/{accession}"
"GET https://www.ebi.ac.uk/proteins/api/coordinates/{dbtype}:{dbid}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • McGarvey, P. B., Nightingale, A., Luo, J., Huang, H., Martin, M. J., Wu, C., & The UniProt Consortium. (2019). UniProt genomic mapping for deciphering functional effects of missense variants. Human Mutation, 40(6), 694–705. https://doi.org/10.1002/humu.23738

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Coordinates": rba_uniprot_coordinates_location(), rba_uniprot_coordinates_location_genome(), rba_uniprot_coordinates_location_protein(), rba_uniprot_coordinates_search()

Examples

rba_uniprot_coordinates(accession = "P25942")


rba_uniprot_coordinates(db_type = "HGNC", db_id = "CD40")

Search UniProt entries by taxonomy and genomic coordinates

Description

Retrieve UniProt entries or mapped protein features for a taxon and supplied genomic coordinates.

Usage

rba_uniprot_coordinates_location(
  taxid,
  locations,
  in_range = TRUE,
  feature = FALSE,
  ...
)

Arguments

taxid

Numeric: NIH-NCBI Taxon ID.

locations

Character: Genomic location formatted as chromosome:start-end. (e.g. "Y:17100001-19600000"). If you omit chromosome, it will be interpreted as any chromosome (e.g. "1-10000").

in_range

Logical: (default = TRUE) If TRUE, return only proteins that are fully contained in the supplied range.

feature

Logical: (default = FALSE) If TRUE, return mapped protein features rather than protein coordinate records.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing UniProt proteins that match the supplied genomic location and taxonomy ID.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/coordinates/{taxonomy}/{locations}/feature"
"GET https://www.ebi.ac.uk/proteins/api/coordinates/{taxonomy}/{locations}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • McGarvey, P. B., Nightingale, A., Luo, J., Huang, H., Martin, M. J., Wu, C., & The UniProt Consortium. (2019). UniProt genomic mapping for deciphering functional effects of missense variants. Human Mutation, 40(6), 694–705. https://doi.org/10.1002/humu.23738

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Coordinates": rba_uniprot_coordinates(), rba_uniprot_coordinates_location_genome(), rba_uniprot_coordinates_location_protein(), rba_uniprot_coordinates_search()

Examples

rba_uniprot_coordinates_location(taxid = 9606,
    locations = "Y:17100001-19600000", in_range = TRUE)


rba_uniprot_coordinates_location(taxid = 9606,
    locations = "20:39000001", in_range = FALSE)

Map Genomic Coordinates to Protein Sequence Positions

Description

Map a genomic position or range within a chromosome and taxon to the corresponding UniProt protein sequence locations. A genomic location may match multiple proteins, isoforms, or transcript mappings. Supply g_position alone, or supply g_start and g_end together.

Usage

rba_uniprot_coordinates_location_genome(
  taxid,
  chromosome,
  g_position = NULL,
  g_start = NULL,
  g_end = NULL,
  ...
)

Arguments

taxid

Numeric: NIH-NCBI Taxon ID.

chromosome

Character or Numeric: Chromosome name, e.g. 1, 20, or X.

g_position

Numeric: (optional) Genomic position. Supply this alone, or supply both g_start and g_end.

g_start

Numeric: (optional) Genomic range start.

g_end

Numeric: (optional) Genomic range end.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list with a locations element containing the matching UniProt protein and genomic mappings. Records can include protein positions, amino acids, transcript and translation identifiers, chromosome, strand, genome assembly, and mapped sequence features.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/coordinates/glocation/{taxonomy}/{chromosome}:{gPosition}"
"GET https://www.ebi.ac.uk/proteins/api/coordinates/glocation/{taxonomy}/{chromosome}:{gStart}-{gEnd}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • McGarvey, P. B., Nightingale, A., Luo, J., Huang, H., Martin, M. J., Wu, C., & The UniProt Consortium. (2019). UniProt genomic mapping for deciphering functional effects of missense variants. Human Mutation, 40(6), 694–705. https://doi.org/10.1002/humu.23738

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Coordinates": rba_uniprot_coordinates(), rba_uniprot_coordinates_location(), rba_uniprot_coordinates_location_protein(), rba_uniprot_coordinates_search()

Examples

rba_uniprot_coordinates_location_genome(
 taxid = 9606, chromosome = 11, g_position = 36573305)

Map Protein Sequence Positions to Genomic Coordinates

Description

Map an amino-acid position or range in a UniProt protein sequence to its corresponding genomic coordinates. A protein sequence location may have more than one genomic mapping. Supply p_position alone, or supply p_start and p_end together.

Usage

rba_uniprot_coordinates_location_protein(
  accession,
  p_position = NULL,
  p_start = NULL,
  p_end = NULL,
  ...
)

Arguments

accession

Character: UniProtKB primary or secondary accession.

p_position

Numeric: (optional) Protein sequence position. Supply this alone, or supply both p_start and p_end.

p_start

Numeric: (optional) Protein sequence range start.

p_end

Numeric: (optional) Protein sequence range end.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list with a locations element containing the mapped protein and genomic boundaries. Records can include chromosome, strand, genome assembly, nucleotide and Ensembl identifiers, amino acids, and mapped sequence features.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/coordinates/location/{accession}:{pPosition}"
"GET https://www.ebi.ac.uk/proteins/api/coordinates/location/{accession}:{pStart}-{pEnd}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • McGarvey, P. B., Nightingale, A., Luo, J., Huang, H., Martin, M. J., Wu, C., & The UniProt Consortium. (2019). UniProt genomic mapping for deciphering functional effects of missense variants. Human Mutation, 40(6), 694–705. https://doi.org/10.1002/humu.23738

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Coordinates": rba_uniprot_coordinates(), rba_uniprot_coordinates_location(), rba_uniprot_coordinates_location_genome(), rba_uniprot_coordinates_search()

Examples

rba_uniprot_coordinates_location_protein(accession = "P25942", p_position = 1)


rba_uniprot_coordinates_location_protein(accession = "P25942",
    p_start = 1, p_end = 277)

Retrieve Epitopes by Accession

Description

Use this function to retrieve epitope annotations linked to a UniProt entry.

Usage

rba_uniprot_epitope(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the UniProt epitope features details for the given accession.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/epitope/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Epitopes": rba_uniprot_epitope_search()

Examples

rba_uniprot_epitope(accession = "P36222")

Get UniProt protein sequence features by accession

Description

UniProt sequence features describe biologically relevant sites and regions within a protein sequence. Retrieve these annotations for one UniProtKB accession, optionally filtered by annotation type, category, or amino-acid range.

Usage

rba_uniprot_features(
  accession,
  types = NULL,
  categories = NULL,
  location = NULL,
  ...
)

Arguments

accession

Character: UniProtKB primary or secondary accession.

types

Character: (optional) Sequence annotation (features) types. Accepted values are: "INIT_MET", "SIGNAL", "PROPEP", "TRANSIT", "CHAIN", "PEPTIDE", "TOPO_DOM", "TRANSMEM", "DOMAIN", "REPEAT", "ZN_FING", "DNA_BIND", "REGION", "COILED", "MOTIF", "COMPBIAS", "ACT_SITE", "BINDING", "SITE", "NON_STD", "MOD_RES", "LIPID", "CARBOHYD", "DISULFID", "CROSSLNK", "VAR_SEQ", "VARIANT", "MUTAGEN", "UNSURE", "CONFLICT", "NON_CONS", "NON_TER", "HELIX", "TURN", "STRAND" and/or "INTRAMEM". You can supply up to 20 types.

categories

Character: (optional) Sequence annotation (features) categories. Accepted values are: "MOLECULE_PROCESSING", "TOPOLOGY", "SEQUENCE_INFORMATION", "STRUCTURAL", "DOMAINS_AND_SITES", "PTM", "VARIANTS" and/or "MUTAGENESIS". You can supply up to 20 categories.

location

Character: (optional) Amino-acid range in "begin-end" format, e.g. "35-70".

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the entry metadata, sequence, and matching annotations in its features element.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/features/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Features": rba_uniprot_features_search(), rba_uniprot_features_type()

Examples

rba_uniprot_features("Q99616")


rba_uniprot_features(accession = "Q99616", types = "DISULFID")

Search UniProt protein sequence features by description

Description

Search for terms in the descriptions of one specified UniProt sequence annotation (feature) type. The function returns protein entries with at least one feature of that type whose description matches a supplied term.

Usage

rba_uniprot_features_type(terms, type, categories = NULL, types = NULL, ...)

Arguments

terms

Character: Terms to find in feature descriptions. You can supply up to 20 terms.

type

Character: Sequence annotation (feature) type whose descriptions are searched. One of: "INIT_MET", "SIGNAL", "PROPEP", "TRANSIT", "CHAIN", "PEPTIDE", "TOPO_DOM", "TRANSMEM", "DOMAIN", "REPEAT", "ZN_FING", "DNA_BIND", "REGION", "COILED", "MOTIF", "COMPBIAS", "ACT_SITE", "BINDING", "SITE", "NON_STD", "MOD_RES", "LIPID", "CARBOHYD", "DISULFID", "CROSSLNK", "VAR_SEQ", "VARIANT", "MUTAGEN", "UNSURE", "CONFLICT", "NON_CONS", "NON_TER", "HELIX", "TURN", "STRAND", or "INTRAMEM".

categories

Character: (optional) Sequence annotation (feature) categories to include in each returned entry. Accepted values are: "MOLECULE_PROCESSING", "TOPOLOGY", "SEQUENCE_INFORMATION", "STRUCTURAL", "DOMAINS_AND_SITES", "PTM", "VARIANTS" and/or "MUTAGENESIS". You can supply up to 20 categories.

types

Character: (optional) Sequence annotation (feature) types to include in each returned entry. Accepted values are the same as for type. You can supply up to 20 types.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

The type and terms arguments determine which protein entries match the search. The optional categories and types arguments only select the annotations included in each returned entry; they do not change which entries match.

Value

A list named by UniProt accession. Each element contains the entry metadata, sequence, and the annotations selected by categories and types in its features element. Without those optional filters, all annotations of each matching entry are returned.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/features/type/{type}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Features": rba_uniprot_features(), rba_uniprot_features_search()

Examples

rba_uniprot_features_type(
    terms = "Alzheimer", type = "VARIANT", types = "VARIANT")

Get Gene-Centric proteins by UniProt Accession

Description

Using this function you can retrieve gene-centrics data. For more information, see What are proteomes? and Automatic gene-centric isoform mapping for eukaryotic reference proteome entries..

Usage

rba_uniprot_genecentric(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the requested gene-centric protein group.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/genecentric/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteomes": rba_uniprot_genecentric_search(), rba_uniprot_proteomes(), rba_uniprot_proteomes_search()

Examples

rba_uniprot_genecentric("P29965")

Get Mutagenesis by UniProt Accession

Description

UniProt describes how sequence mutations affect the biological properties of a protein, cell, or organism. Retrieve the mutagenesis annotations mapped to one UniProt protein.

Usage

rba_uniprot_mutagenesis(accession, location = NULL, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

location

Character: (optional) A valid amino acid range (e.g. 10-25) within the sequence of the given protein.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the mutagenesis description of your supplied UniProt protein's sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/mutagenesis/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Mutagenesis": rba_uniprot_mutagenesis_search()

Examples

rba_uniprot_mutagenesis(accession = "P0DTC2", location = "300-400")

Get UniProt entry by accession

Description

Retrieve a UniProtKB entry by accession. Alternatively, retrieve its isoforms or interaction partners by setting isoforms = TRUE or interaction = TRUE. These two modes are mutually exclusive.

Usage

rba_uniprot_proteins(accession, interaction = FALSE, isoforms = FALSE, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

interaction

Logical: (default = FALSE) Retrieve interaction partners instead of the entry itself?

isoforms

Logical: (default = FALSE) Retrieve isoforms of your supplied UniProt entry instead of the canonical entry itself?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the requested UniProtKB entry. Isoform and interaction results are lists named by accession.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteins/{accession}"
"GET https://www.ebi.ac.uk/proteins/api/proteins/interaction/{accession}"
"GET https://www.ebi.ac.uk/proteins/api/proteins/{accession}/isoforms"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteins": rba_uniprot_proteins_crossref(), rba_uniprot_proteins_search()

Examples

rba_uniprot_proteins(accession = "P01730")


rba_uniprot_proteins(accession = "P01730", interaction = TRUE)


rba_uniprot_proteins(accession = "Q29983", isoforms = TRUE)

Get UniProt Entry by UniProt Cross-Reference Database and ID

Description

UniProt cross-references connect protein entries with identifiers in external databases. Retrieve UniProtKB entries associated with an identifier from one of these databases.

Usage

rba_uniprot_proteins_crossref(
  db_id,
  db_name,
  reviewed = NULL,
  isoform = NULL,
  ...
)

Arguments

db_id

Character: Protein identifier in the cross-reference database.

db_name

Character: Cross-reference database name.

reviewed

Logical: (optional) If TRUE, return only reviewed Swiss-Prot entries. If FALSE, return only unreviewed TrEMBL entries.

isoform

Numeric: (optional) One of:

  • 0: Exclude isoforms.

  • 1: Return isoforms only.

See alternative products.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list named by UniProt accession. Each element is a UniProtKB entry corresponding to the supplied cross-reference identifier.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteins/{dbtype}:{dbid}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteins": rba_uniprot_proteins(), rba_uniprot_proteins_search()

Examples

rba_uniprot_proteins_crossref("cd40", "hgnc")


rba_uniprot_proteins_crossref("cd40", "hgnc", reviewed = TRUE)


rba_uniprot_proteins_crossref("mica", "hgnc", isoform = 0)

Get a Proteome by UPID

Description

UniProt collects and annotates proteomes (protein sets expressed in an organism). Retrieve a proteome's metadata by UPID, optionally including its proteins. When proteins are requested, they can be filtered by UniProtKB review status. See What are proteomes? for more information.

Usage

rba_uniprot_proteomes(upid, get_proteins = FALSE, reviewed = NULL, ...)

Arguments

upid

Character: UniProt Proteome identifier (UPID).

get_proteins

Logical: (default = FALSE) If TRUE, embed the proteins belonging to the supplied proteome in its genome components.

reviewed

Logical: (optional) Used only when get_proteins is TRUE. If TRUE, return only reviewed UniProtKB/Swiss-Prot proteins; if FALSE, return only unreviewed UniProtKB/TrEMBL entries; if NULL, do not filter by review status.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the requested proteome. With get_proteins = TRUE, protein entries are included under each element of component.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomes/proteins/{upid}"
"GET https://www.ebi.ac.uk/proteins/api/proteomes/{upid}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteomes": rba_uniprot_genecentric(), rba_uniprot_genecentric_search(), rba_uniprot_proteomes_search()

Examples

rba_uniprot_proteomes(upid = "UP000000354")


rba_uniprot_proteomes(upid = "UP000000354", get_proteins = TRUE)

Get Proteomics Peptides Mapped to UniProt Protein (Deprecated)

Description

This function is Deprecated. Please use rba_uniprot_proteomics_non_ptm instead.
UniProt maps proteomics peptides from different sources to the proteins' sequences. Using this function, you can retrieve all the proteomics peptides features that has been map to a given UniProt protein's sequence.

Usage

rba_uniprot_proteomics(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the proteomics peptides features of your supplied UniProt protein's sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomics/nonPtm/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "Deprecated functions": rba_uniprot_proteomics_search(), rba_uniprot_ptm(), rba_uniprot_ptm_search()

Examples

## Not run: 
#Deprecated
rba_uniprot_proteomics(accession = "P25942")

## End(Not run)

Get HPP Proteomics data in UniProt

Description

UniProt maps Human Proteome Project (HPP) proteomics data from different sources to protein sequences. Retrieve all HPP proteomics features mapped to a given UniProt protein's sequence.

Usage

rba_uniprot_proteomics_hpp(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

UniProt categorizes proteomics data sources into three main data categories: PTM (Post-Translational Modification), non-PTM, and HPP (Human Proteome Project); each with corresponding API endpoints, and thus, rbioapi functions.

Value

A list containing the proteomics data features of your supplied UniProt protein's sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomics/hpp/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteomics": rba_uniprot_proteomics_hpp_search(), rba_uniprot_proteomics_non_ptm(), rba_uniprot_proteomics_non_ptm_search(), rba_uniprot_proteomics_ptm(), rba_uniprot_proteomics_ptm_search(), rba_uniprot_proteomics_species()

Examples

rba_uniprot_proteomics_hpp(accession = "P04234")

Get Proteomics data in UniProt

Description

UniProt maps proteomics data from different sources to the proteins' sequences. Using this function, you can retrieve all the non-post-translational-modification proteomics features mapped to a given UniProt protein's sequence.

Usage

rba_uniprot_proteomics_non_ptm(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

UniProt categorizes proteomics data sources into three main data categories: PTM (Post-Translational Modification), non-PTM, and HPP (Human Proteome Project); each with corresponding API endpoints, and thus, rbioapi functions.

Value

A list containing the proteomics data features of your supplied UniProt protein's sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomics/nonPtm/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteomics": rba_uniprot_proteomics_hpp(), rba_uniprot_proteomics_hpp_search(), rba_uniprot_proteomics_non_ptm_search(), rba_uniprot_proteomics_ptm(), rba_uniprot_proteomics_ptm_search(), rba_uniprot_proteomics_species()

Examples

rba_uniprot_proteomics_non_ptm(accession = "P04234")

Get Post-Translational Modification of UniProt Protein

Description

UniProt maps post-translational modification proteomics data from different sources to the proteins' sequences. Using this function, you can retrieve all the post-translational-modification features mapped to a given UniProt protein's sequence.

Usage

rba_uniprot_proteomics_ptm(accession, confidence_score = NULL, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

confidence_score

Character: (optional) One or more of "Bronze", "Silver", or "Gold"; you can supply all three values. UniProt classifies modified residues by false localization rate across multiple datasets. See Large-scale modified residues for more information.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

see also: PTM / Processing section in UniProtKB

UniProt categorizes proteomics data sources into three main data categories: PTM (Post-Translational Modification), non-PTM, and HPP (Human Proteome Project); each with corresponding API endpoints, and thus, rbioapi functions.

Value

A list containing the post-translational modification features of your supplied UniProt protein's sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomics/ptm/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteomics": rba_uniprot_proteomics_hpp(), rba_uniprot_proteomics_hpp_search(), rba_uniprot_proteomics_non_ptm(), rba_uniprot_proteomics_non_ptm_search(), rba_uniprot_proteomics_ptm_search(), rba_uniprot_proteomics_species()

Examples

rba_uniprot_proteomics_ptm(accession = "P04234")

Get UniProt Proteomics Metadata

Description

Retrieve information on the available Species proteomics data sources in UniProt.

Usage

rba_uniprot_proteomics_species(...)

Arguments

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

UniProt categorizes proteomics data sources into three main data categories: PTM (Post-Translational Modification), non-PTM, and HPP (Human Proteome Project); each with corresponding API endpoints, and thus, rbioapi functions.

Value

A data frame with the available species as rows, and the columns indicating the proteomics data sources, separated by three main data categories: PTM (Post-Translational Modification), non-PTM, and HPP (Human Proteome Project)

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomics/species"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Proteomics": rba_uniprot_proteomics_hpp(), rba_uniprot_proteomics_hpp_search(), rba_uniprot_proteomics_non_ptm(), rba_uniprot_proteomics_non_ptm_search(), rba_uniprot_proteomics_ptm(), rba_uniprot_proteomics_ptm_search()

Examples

rba_uniprot_proteomics_species()

Get Post-Translational Modification of UniProt Protein (Deprecated)

Description

This function is Deprecated. Please use rba_uniprot_proteomics_ptm instead.
UniProt maps post-translational modification features from different sources to the proteins' sequences. Using this function, you can retrieve all the post-translational modification features that has been map to a given UniProt protein's sequence.

Usage

rba_uniprot_ptm(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

see also: PTM / Processing section in UniProtKB

Value

A list containing the post-translational modification features of your supplied UniProt protein's sequence.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteomics/ptm/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "Deprecated functions": rba_uniprot_proteomics(), rba_uniprot_proteomics_search(), rba_uniprot_ptm_search()

Examples

## Not run: 
#Deprecated
rba_uniprot_ptm(accession = "P04234")

## End(Not run)

Retrieve UniProt RNA-Editing Annotations by Accession

Description

Use this function to retrieve RNA-editing events (conversion, insertion, deletion of nucleotides) annotations linked to a UniProt entry.

Usage

rba_uniprot_rna_edit(accession, ...)

Arguments

accession

Character: UniProtKB primary or secondary accession.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the UniProt RNA-editing features details for the given accession.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/rna-editing/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - RNA Editing": rba_uniprot_rna_edit_search()

Examples

rba_uniprot_rna_edit(accession = "Q16851")

Get UniProt Taxonomy Nodes

Description

Retrieve taxonomic-node information using NCBI taxonomic identifiers. You can also retrieve nodes related to one supplied node in UniProt Taxonomy database. Child and sibling results are paginated.

Usage

rba_uniprot_taxonomy(
  ids,
  hierarchy = NULL,
  node_only = TRUE,
  page_size = 200,
  page_number = 1,
  ...
)

Arguments

ids

Numeric: One or more NCBI taxonomic identifiers.

hierarchy

Character: (optional) Retrieve nodes related to one supplied node. One of "children", "parent", or "siblings".

node_only

Logical: (default = TRUE) If TRUE, return node information without links to parent, sibling, and child nodes.

page_size

Numeric: (default = 200) Number of child or sibling nodes per page. The maximum is 200.

page_number

Numeric: (default = 1) Page of child or sibling nodes to retrieve.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing taxonomy information for the requested nodes or their related nodes.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/ids/{ids}"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/ids/{ids}/node"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/node"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/children"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/children/node"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/parent"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/parent/node"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/siblings"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/id/{id}/siblings/node"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy_lca(), rba_uniprot_taxonomy_lineage(), rba_uniprot_taxonomy_name(), rba_uniprot_taxonomy_path(), rba_uniprot_taxonomy_relationship()

Examples

rba_uniprot_taxonomy(ids = c(9606, 10090))


rba_uniprot_taxonomy(ids = 9989, hierarchy = "children")

Get Lowest Common Ancestor (LCA) of Two Taxonomy Nodes

Description

Retrieve the lowest common ancestor (LCA) of two or more nodes in the UniProt Taxonomy database.

Usage

rba_uniprot_taxonomy_lca(ids, ...)

Arguments

ids

Numeric: NCBI taxonomic identifiers. Supply at least two IDs.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the lowest common ancestor's taxonomy information.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/taxonomy/ancestor/{ids}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy(), rba_uniprot_taxonomy_lineage(), rba_uniprot_taxonomy_name(), rba_uniprot_taxonomy_path(), rba_uniprot_taxonomy_relationship()

Examples

rba_uniprot_taxonomy_lca(c(9606,10090,9823,7712))

Get Taxonomic Lineage

Description

Use this function to retrieve the taxonomic lineage of your supplied taxonomy node.

Usage

rba_uniprot_taxonomy_lineage(id, ...)

Arguments

id

Numeric: An NCBI taxonomic identifier.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the requested node's lineage, ordered from the supplied node to the root.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/taxonomy/lineage/{id}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy(), rba_uniprot_taxonomy_lca(), rba_uniprot_taxonomy_name(), rba_uniprot_taxonomy_path(), rba_uniprot_taxonomy_relationship()

Examples

rba_uniprot_taxonomy_lineage(id = 9989)

Search UniProt Taxonomic Names

Description

Search and retrieve taxonomic nodes by name from the UniProt Taxonomy database. Search results are paginated.

Usage

rba_uniprot_taxonomy_name(
  name,
  field = "scientific",
  search_type = "equal_to",
  node_only = TRUE,
  page_size = 200,
  page_number = 1,
  ...
)

Arguments

name

Character: Taxonomic name to search.

field

Character: (default = "scientific") Name field to search. One of "scientific", "common", or "mnemonic".

search_type

Character: (default = "equal_to") Relationship between the query and taxonomic name. One of "equal_to", "start_with", "end_with", or "contain".

node_only

Logical: (default = TRUE) If TRUE, return node information without links to parent, sibling, and child nodes.

page_size

Numeric: (default = 200) Number of results per page. The maximum is 200.

page_number

Numeric: (default = 1) Page to retrieve.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing matching taxonomic nodes and page information.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/taxonomy/name/{name}"
"GET https://www.ebi.ac.uk/proteins/api/taxonomy/name/{name}/node"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy(), rba_uniprot_taxonomy_lca(), rba_uniprot_taxonomy_lineage(), rba_uniprot_taxonomy_path(), rba_uniprot_taxonomy_relationship()

Examples

rba_uniprot_taxonomy_name(name = "homo", field = "scientific",
    search_type = "start_with")


rba_uniprot_taxonomy_name(name = "adenovirus", field = "scientific",
    search_type = "contain", page_size = 200, page_number = 2)

Traverse UniProt Taxonomic Tree Path

Description

Traverse upward or downward from a supplied node in the UniProt Taxonomy database tree.

Usage

rba_uniprot_taxonomy_path(id, direction, depth = 5, ...)

Arguments

id

Numeric: An NCBI taxonomic identifier.

direction

Character: Direction of the taxonomic path, either "TOP" or "BOTTOM".

depth

Numeric: (default = 5) Number of taxonomic-tree levels to traverse, from 1 to 5.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A nested list containing the requested taxonomic path.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/taxonomy/path"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy(), rba_uniprot_taxonomy_lca(), rba_uniprot_taxonomy_lineage(), rba_uniprot_taxonomy_name(), rba_uniprot_taxonomy_relationship()

Examples

rba_uniprot_taxonomy_path(id = 9606, direction = "TOP", depth = 3)


rba_uniprot_taxonomy_path(id = 207598, direction = "BOTTOM", depth = 3)

Get Shortest Path Between Two Taxonomy Nodes

Description

Use this function to retrieve the shortest path between two nodes in the taxonomy tree of UniProt Taxonomy database.

Usage

rba_uniprot_taxonomy_relationship(from, to, ...)

Arguments

from

Numeric: NCBI taxonomic identifier of the initial node.

to

Numeric: NCBI taxonomic identifier of the final node.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A nested list containing the shortest path between the supplied nodes.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/taxonomy/relationship"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy(), rba_uniprot_taxonomy_lca(), rba_uniprot_taxonomy_lineage(), rba_uniprot_taxonomy_name(), rba_uniprot_taxonomy_path()

Examples

rba_uniprot_taxonomy_relationship(from = 9606, to = 10090)

Get UniParc entry

Description

Retrieve UniParc entries using exactly one UniProt accession, cross-reference database ID, UniParc ID, or UniProt Proteome UPID. The rf_* arguments filter cross-references within returned entries. Database-reference and proteome lookups may return multiple UniParc entries.

Usage

rba_uniprot_uniparc(
  upi = NULL,
  accession = NULL,
  db_id = NULL,
  upid = NULL,
  rf_dd_type = NULL,
  rf_db_id = NULL,
  rf_active = NULL,
  rf_tax_id = NULL,
  ...
)

Arguments

upi

Character: (optional) Unique UniParc identifier.

accession

Character: (optional) UniProtKB primary or secondary accession.

db_id

Character: (optional) Protein ID in a cross-reference database.

upid

Character: (optional) UniProt Proteome identifier (UPID).

rf_dd_type

Character: (optional) Filter the UniParc entry's content by cross-reference names. You can supply multiple values.

rf_db_id

Character: (optional) Filter the UniParc entry's content by protein identifiers in any cross-reference database. You can supply multiple values.

rf_active

Logical: (optional) Filter the UniParc entry's content by active status in the source database: TRUE retains active database references, FALSE retains inactive references, and NULL applies no active-status filter.

rf_tax_id

Numeric: (optional) Filter the UniParc entry's content by NIH-NCBI Taxon ID. You can supply multiple values.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A UniParc entry, or a list of entries for a database-reference or proteome lookup.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/uniparc/accession/{accession}"
"GET https://www.ebi.ac.uk/proteins/api/uniparc/dbreference/{dbid}"
"GET https://www.ebi.ac.uk/proteins/api/uniparc/proteome/{upid}"
"GET https://www.ebi.ac.uk/proteins/api/uniparc/upi/{upi}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - UniParc": rba_uniprot_uniparc_bestguess(), rba_uniprot_uniparc_search(), rba_uniprot_uniparc_sequence()

Examples

rba_uniprot_uniparc(accession = "P30914")


rba_uniprot_uniparc(upi = "UPI00000000C9")


rba_uniprot_uniparc(upi = "UPI00000000C9", rf_active = FALSE)

Get UniParc Longest Sequence for Entries

Description

This function returns the UniParc Entry with a cross-reference to the longest active UniProtKB sequence (preferably from Swiss-Prot and if not then TrEMBL). If it finds more than one longest active UniProtKB sequence it returns 400 (Bad Request) error response with the list of cross references found.

Usage

rba_uniprot_uniparc_bestguess(
  upi = NULL,
  accession = NULL,
  db_id = NULL,
  gene = NULL,
  taxid = NULL,
  ...
)

Arguments

upi

Character: (optional) Unique UniParc identifier(s). You can supply up to 100 IDs.

accession

Character: (optional) UniProtKB primary or secondary accession(s). You can supply up to 100 accession numbers.

db_id

Character: (optional) Protein ID in a cross-reference database. You can supply up to 100 IDs.

gene

Character: (optional) UniProt gene name(s). You can supply up to 20 gene names.

taxid

Numeric: (optional) NIH-NCBI Taxon ID used to refine the search. You can supply up to 20 taxon IDs.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

The best matching UniParc entry.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/uniparc/bestguess"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - UniParc": rba_uniprot_uniparc(), rba_uniprot_uniparc_search(), rba_uniprot_uniparc_sequence()

Examples

rba_uniprot_uniparc_bestguess("UPI00000000C9")

Get UniParc Entries by Sequence

Description

Retrieve a UniParc entry using an exact protein sequence. Partial matches are not accepted. The rf_* arguments filter cross-references within the returned entry.

Usage

rba_uniprot_uniparc_sequence(
  sequence,
  rf_dd_type = NULL,
  rf_db_id = NULL,
  rf_active = NULL,
  rf_tax_id = NULL,
  ...
)

Arguments

sequence

Character: Exact protein sequence. Partial matches are not accepted.

rf_dd_type

Character: (optional) Filter the UniParc entry's content by cross-reference names. You can supply multiple values.

rf_db_id

Character: (optional) Filter the UniParc entry's content by protein identifiers in any cross-reference database. You can supply multiple values.

rf_active

Logical: (optional) Filter the UniParc entry's content by active status in the source database: TRUE retains active database references, FALSE retains inactive references, and NULL applies no active-status filter.

rf_tax_id

Numeric: (optional) Filter the UniParc entry's content by NIH-NCBI Taxon ID. You can supply multiple values.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

The matching UniParc entry.

Corresponding API Resources

"POST https://www.ebi.ac.uk/proteins/api/uniparc/sequence"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - UniParc": rba_uniprot_uniparc(), rba_uniprot_uniparc_bestguess(), rba_uniprot_uniparc_search()

Examples

rba_uniprot_uniparc_sequence("GMRSCPRGCSQRGRCENGRCVCNPGYTGEDC")

Retrieve UniProt Natural Variants by Identifier

Description

Retrieve natural variant annotations by UniProt accession, dbSNP identifier, or HGVS expression.

Usage

rba_uniprot_variation(
  id,
  id_type,
  source_type = NULL,
  consequence_type = NULL,
  wild_type = NULL,
  alternative_sequence = NULL,
  location = NULL,
  save_peff = FALSE,
  ...
)

Arguments

id

Character: A single identifier: either a UniProt primary or secondary accession, an NIH-NCBI dbSNP ID, or an HGVS expression.

id_type

Character: The type of supplied ID argument, one of: "uniprot", "dbsnp" or "hgvs".

source_type

Character: (optional) Variation's source type. You can choose up to two of: "uniprot", "large scale study", "mixed", "clinvar", "nci-tcga", "cosmic curated", "ensembl", "gnomad", "topmed", or "exac".

consequence_type

Character: (optional) Variation's consequence type. You can choose up to two of: "missense", "stop gained" or "stop lost".

wild_type

Character: (optional) Wild-type amino acid. Accepted values are IUPAC single-letter amino acid codes and "*" for a stop codon. You can supply up to 20 values.

alternative_sequence

Character: (optional) Alternative amino acid. Accepted values are IUPAC single-letter amino acid codes, "*" for a stop codon, and "-" for a deletion. You can supply up to 20 values.

location

Character: (optional) A valid amino acid range (e.g. 10-25) within the sequence where the variation occurs.

save_peff

Logical or Character: (default = FALSE)

  • FALSE: Return the parsed JSON response.

  • TRUE: Save as PEFF file to an automatically-generated path.

  • Character string: A valid file path to save the PEFF file.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

If save_peff = FALSE, a list. For id_type = "uniprot", it represents the requested entry; for "dbsnp" or "hgvs", each element represents a matching entry and is named by accession when available. If PEFF output is requested, the response is written to disk and returned as a character string.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/variation/dbsnp/{dbid}"
"GET https://www.ebi.ac.uk/proteins/api/variation/hgvs/{hgvs}"
"GET https://www.ebi.ac.uk/proteins/api/variation/{accession}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Variation": rba_uniprot_variation_locations(), rba_uniprot_variation_search()

Examples

rba_uniprot_variation(id = "rs121434451", id_type = "dbsnp")


rba_uniprot_variation(id = "NC_000008.11:g.22119227C>T", id_type = "hgvs")


rba_uniprot_variation(id = "O43593", id_type = "uniprot")

Retrieve UniProt Natural Variants by Sequence Position

Description

Retrieve natural variants annotated at specified amino-acid positions in UniProt protein sequences. Each supplied accession is paired with the corresponding element of locations.

Usage

rba_uniprot_variation_locations(accession, locations, save_peff = FALSE, ...)

Arguments

accession

Character: UniProtKB accession(s). You can supply up to 100 accessions. Each accession is paired with the corresponding element of locations.

locations

Character or Numeric: Amino-acid position(s) within each protein sequence. Each element should be a positive whole number or a character string of comma-separated positions, such as "5,7". You can supply up to 100 elements, and their number should equal the number of supplied accessions.

save_peff

Logical or Character: (default = FALSE)

  • FALSE: Return the parsed JSON response.

  • TRUE: Save the PEFF response to an automatically generated path.

  • Character string: A valid file path to save the PEFF file.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Details

A locations element can specify one position or several comma-separated positions. The returned records are grouped by UniProt accession and include the protein sequence and variant annotations found at the requested positions.

Value

With save_peff = FALSE, a list named by UniProt accession. Each element contains entry metadata, the protein sequence, and matching variants in its features element. Repeated groups for the same accession are combined by the API, and features can be empty when no variant is annotated at the requested positions. Otherwise, the PEFF response is written to disk and returned as a character string.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/variation/accession_locations/{accession_locations}"

References

  • The UniProt Consortium. (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research, 53(D1), D609–D617. https://doi.org/10.1093/nar/gkae1010

  • Nightingale, A., Antunes, R., Alpi, E., Bursteinas, B., Gonzales, L., Liu, W., Luo, J., Qi, G., Turner, E., & Martin, M. (2017). The Proteins API: Accessing key integrated protein and genome information. Nucleic Acids Research, 45(W1), W539–W544. https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See Also

Other "UniProt - Variation": rba_uniprot_variation(), rba_uniprot_variation_search()

Examples

rba_uniprot_variation_locations(
    accession = c("P05067", "Q99616"),
    locations = c("5,7", "5,29"))