Introduction

Directly quoting the the paper published by PANTHER (Protein Analysis THrough Evolutionary Relationships) authors:

The PANTHER classification system (http://www.pantherdb.org) a comprehensive system that combines genomes, gene function , pathways and statistical analysis tools to enable to analyze large-scale genome-wide experimental data. The system (PANTHER v.14.0) covers 131 complete genomes organized gene families and subfamilies; evolutionary relationships between are represented in phylogenetic trees, multiple sequence and statistical models (hidden Markov models (HMMs)). The families and subfamilies are annotated with Gene Ontology (GO) terms, sequences are assigned to PANTHER pathways. A suite of tools has built to allow users to browse and query gene functions and analyze-scale experimental data with a number of statistical tests. is widely used by bench scientists, bioinformaticians, computer and systems biologists.

(source: Mi, Huaiyu, et al. “Protocol Update for large-scale genome and gene function analysis with the PANTHER classification system (v. 14.0).” Nature protocols 14.3 (2019): 703-721)

The available tools in PANTHER’s RESTful API services can be divided into 3 broad categories: Mapping genes, retrieving information, and research tools. Herein, we provide a very short introduction; you can always check functions’ manuals for detailed guides and examples.


Map genes


Get information

  • rba_panther_info(): Retrieve a list of PANTHER’s supported organisms, datasets, families, or pathways

  • rba_panther_family(): Retrieve Orthologs, MSA, or Tree topology of a given PANTHER family.


Research tools

Gene List Analysis

rba_panther_enrich() is an equivalent to Gene List analysis tool’s webpage.. Here is a usage example:

## 1 We get the available annotation datasets in PANTHER (we need to select one of them to submit an enrichment request)
annots <- rba_panther_info(what = "datasets")
#> Retrieving available annotation datasets.
## 2 We create a variable with our genes' IDs
genes <- c("p53", "BRCA1", "cdk2", "Q99835", "CDC42","CDK1","KIF23","PLK1",
           "RAC2","RACGAP1","RHOA","RHOB", "PHF14", "RBM3", "MSL1")
## 3 Now we can submit the enrichment request.
enriched <- rba_panther_enrich(genes = genes,
                               organism = 9606,
                               annot_dataset = "ANNOT_TYPE_ID_PANTHER_GO_SLIM_BP",
                               cutoff = 0.05)
#> Performing over-representation enrichment analysis of 15 input genes of organism 9606 against ANNOT_TYPE_ID_PANTHER_GO_SLIM_BP datasets.

Tree grafter

rba_panther_tree_grafter() is an equivalent to the “Graft sequence into PANTHER library of trees” tool.


Session info

#> R version 4.1.1 (2021-08-10)
#> Platform: x86_64-apple-darwin17.0 (64-bit)
#> Running under: macOS Catalina 10.15.7
#> 
#> Matrix products: default
#> BLAS:   /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
#> 
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] rbioapi_0.7.5
#> 
#> loaded via a namespace (and not attached):
#>  [1] knitr_1.36        magrittr_2.0.1    R6_2.5.1          ragg_1.1.3       
#>  [5] rlang_0.4.11      fastmap_1.1.0     stringr_1.4.0     httr_1.4.2       
#>  [9] tools_4.1.1       DT_0.19           xfun_0.26         jquerylib_0.1.4  
#> [13] crosstalk_1.1.1   htmltools_0.5.2   systemfonts_1.0.2 yaml_2.2.1       
#> [17] digest_0.6.28     rprojroot_2.0.2   pkgdown_1.6.1     crayon_1.4.1     
#> [21] textshaping_0.3.5 htmlwidgets_1.5.4 fs_1.5.0          curl_4.3.2       
#> [25] memoise_2.0.0     cachem_1.0.6      evaluate_0.14     rmarkdown_2.11   
#> [29] stringi_1.7.5     compiler_4.1.1    desc_1.4.0        jsonlite_1.7.2