1 Introduction

Biological molecules in a living organism seldom work individually. They usually interact each other in a cooperative way. Biological process is too complicated to understand without considering such interactions. These associations can be conveniently represented as networks (graphs) with nodes (vertices) for molecules and links (edges) for interactions between them. Thus, network-based procedures can be seen as powerful methods for studying complex process. For example, cancer may be better characterized by frequently mutated or dysregulated pathways than driver mutations. However, many methods are devised for analyzing individual genes. It is said that techniques based on biological networks such as gene co-expression are more precise ways to represent information than those using lists of genes only. This package is aimed to integrate the gene expression and biological network. A biological network is constructed from gene expression data and it is used for Gene Set Enrichment Analysis.

Recently, network module-based methods have been proposed as a powerful tool to analyze and interpret gene expression data. For example, a co-expression gene network exhibit distinctive connection structures, including their topologies. In particular, the highly connected genes, or hub genes located at the functional center of the network, should have a high tendency to be associated with their phenotypic outcome. In case that a pathway is represented as a network with nodes and edges, its topology is essential for evaluating the importance of the pathway. However, the widely used statistical methods were designed for individual genes, which may detect too many irrelevant significantly genes or too few genes to describe the phenotypic changes. One possible reason is that most of the existing functional enrichment analyses ignore topological information. Therfore, they are limited for applicability. To overcome this limitation, the original functional enrichment method is extended by assigning network centralities such as node weights. The rationale behind this is that all nodes are not equally important because of hub genes. A fundamental problem in the analysis of complex networks is the determination of how important a certain node is. Centrality measures such as node strength show how influential that node is in the overall network. It assigns relative scores to all nodes within the graph. For simplicity, degree centrality or node strength is used as a centrality measure by default. For over-representation analysis, the label propagation algorithm is employed to score nodes in this package.



2 Example

2.1 GSEA with the list of genes, based on the label propagation

Label propagation is a semi-supervised learning that assigns labels for unlabelled nodes in a network. Each node will be labeled, based on the corresponding score. These score can be used as a statistic for GSEA. Thus ORA can be performed by GSEA. For the example of GSEA for the label propagation, consider Lung Adenocarcinoma data from TCGA. We have set our threshold to 0.7, so only those nodes with similarities higher than 0.7 will be considered neighbors. Consider recurrently mutated genes from MutSig and KEGG pathways. In the result, we can see that these mutated genes are enriched at cancer relevant signaling pathways such as ERBB and MAPK pathways. The warning message indicates that there are many genes that have the same score and so are ranked equally, which means that they are not affected by recurrently mutated genes.


2.2 GSEA with statistics, based on the degree centrality

Gene expression data are analyzed to identify differentially expressed genes. Consider pasilla RNA-seq count data. By using the Wald statistic in this example, GSEA can be performed with Gene Ontology terms from http://www.go2msig.org/cgi-bin/prebuilt.cgi?taxid=7227. Thus, it is expected that we may find the biological functions related to change in phenotype from the network, rather than individual genes.

## [1] "conditiontreated"   "conditionuntreated"
## log2 transformed for correlation



3 Session info

## R version 3.6.1 (2019-07-05)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 18.04.3 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.10-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.10-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats4    parallel  stats     graphics  grDevices utils     datasets 
## [8] methods   base     
## 
## other attached packages:
##  [1] org.Dm.eg.db_3.10.0         AnnotationDbi_1.48.0       
##  [3] DESeq2_1.26.0               SummarizedExperiment_1.16.0
##  [5] DelayedArray_0.12.0         BiocParallel_1.20.0        
##  [7] matrixStats_0.55.0          Biobase_2.46.0             
##  [9] GenomicRanges_1.38.0        GenomeInfoDb_1.22.0        
## [11] IRanges_2.20.0              S4Vectors_0.24.0           
## [13] pasilla_1.13.0              gsean_1.6.0                
## [15] PPInfer_1.12.0              yeastExpData_0.31.0        
## [17] graph_1.64.0                BiocGenerics_0.32.0        
## [19] STRINGdb_1.26.0             igraph_1.2.4.1             
## [21] ggplot2_3.2.1               kernlab_0.9-27             
## [23] biomaRt_2.42.0              fgsea_1.12.0               
## [25] Rcpp_1.0.2                 
## 
## loaded via a namespace (and not attached):
##   [1] backports_1.1.5        Hmisc_4.2-0            fastmatch_1.1-0       
##   [4] BiocFileCache_1.10.0   plyr_1.8.4             lazyeval_0.2.2        
##   [7] splines_3.6.1          crosstalk_1.0.0        robust_0.4-18.1       
##  [10] digest_0.6.22          foreach_1.4.7          htmltools_0.4.0       
##  [13] GO.db_3.10.0           gdata_2.18.0           magrittr_1.5          
##  [16] checkmate_1.9.4        memoise_1.1.0          fit.models_0.5-14     
##  [19] cluster_2.1.0          doParallel_1.0.15      fastcluster_1.1.25    
##  [22] annotate_1.64.0        askpass_1.1            prettyunits_1.0.2     
##  [25] colorspace_1.4-1       blob_1.2.0             rappdirs_0.3.1        
##  [28] rrcov_1.4-7            xfun_0.10              dplyr_0.8.3           
##  [31] crayon_1.3.4           RCurl_1.95-4.12        jsonlite_1.6          
##  [34] genefilter_1.68.0      zeallot_0.1.0          impute_1.60.0         
##  [37] survival_2.44-1.1      iterators_1.0.12       glue_1.3.1            
##  [40] hash_2.2.6.1           gtable_0.3.0           zlibbioc_1.32.0       
##  [43] XVector_0.26.0         DEoptimR_1.0-8         scales_1.0.0          
##  [46] mvtnorm_1.0-11         DBI_1.0.0              plotrix_3.7-6         
##  [49] viridisLite_0.3.0      xtable_1.8-4           progress_1.2.2        
##  [52] htmlTable_1.13.2       foreign_0.8-72         bit_1.1-14            
##  [55] preprocessCore_1.48.0  Formula_1.2-3          sqldf_0.4-11          
##  [58] htmlwidgets_1.5.1      httr_1.4.1             gplots_3.0.1.1        
##  [61] RColorBrewer_1.1-2     acepack_1.4.1          pkgconfig_2.0.3       
##  [64] XML_3.98-1.20          nnet_7.3-12            dbplyr_1.4.2          
##  [67] locfit_1.5-9.1         dynamicTreeCut_1.63-1  later_1.0.0           
##  [70] labeling_0.3           tidyselect_0.2.5       rlang_0.4.1           
##  [73] munsell_0.5.0          tools_3.6.1            gsubfn_0.7            
##  [76] RSQLite_2.1.2          fastmap_1.0.1          evaluate_0.14         
##  [79] stringr_1.4.0          yaml_2.2.0             knitr_1.25            
##  [82] bit64_0.9-7            robustbase_0.93-5      caTools_1.17.1.2      
##  [85] purrr_0.3.3            mime_0.7               compiler_3.6.1        
##  [88] rstudioapi_0.10        plotly_4.9.0           curl_4.2              
##  [91] png_0.1-7              tibble_2.1.3           geneplotter_1.64.0    
##  [94] pcaPP_1.9-73           stringi_1.4.3          lattice_0.20-38       
##  [97] Matrix_1.2-17          vctrs_0.2.0            lifecycle_0.1.0       
## [100] pillar_1.4.2           data.table_1.12.6      bitops_1.0-6          
## [103] httpuv_1.5.2           R6_2.4.0               latticeExtra_0.6-28   
## [106] promises_1.1.0         KernSmooth_2.23-16     gridExtra_2.3         
## [109] codetools_0.2-16       MASS_7.3-51.4          gtools_3.8.1          
## [112] assertthat_0.2.1       chron_2.3-54           proto_1.0.0           
## [115] openssl_1.4.1          withr_2.1.2            GenomeInfoDbData_1.2.2
## [118] hms_0.5.1              grid_3.6.1             rpart_4.1-15          
## [121] tidyr_1.0.0            rmarkdown_1.16         Cairo_1.5-10          
## [124] shiny_1.4.0            WGCNA_1.68             base64enc_0.1-3



4 References

Gu, Z., Liu, J., Cao, K., Zhang, J., & Wang, J. (2012). Centrality-based pathway enrichment: a systematic approach for finding significant pathways dominated by key genes. BMC systems biology, 6(1), 56.

Wu, J. (2016). Transcriptomics and Gene Regulation. Springer.

Zhang, W., Chien, J., Yong, J., & Kuang, R. (2017). Network-based machine learning and graph theory algorithms for precision oncology. npj Precision Oncology, 1(1), 25.