interacCircos

Zhe Cui

2022-11-01

Introduction

JavaScript-based Circos libraries have been widely implemented to generate interactive Circos plots on web applications. However, these libraries require either local installation that requires compiling extra libraries or extra data processing procedures to prepare input and configuration for each track of plot, which limits the utility and capability of integration with powerful packages of R. Here, we present interacCircos, an R package for creating interactive Circos plots through the intregration of JavaScript-based libraries. interacCircos can simply and flexibly implement 14 track-plot functions and 7 auxiliary functions for presenting large-scale genomic data in interactive Circos plots.

Quick Start

The Quick Start step for interacCircos is available at https://mrcuizhe.github.io/interacCircos_documentation/html/quick_start.html

Example

Default genome track

Try changing genome list and its color

Try automatically filling genome color

Simple example with multiple modules

Histogram module

SNP and Background module

Session info

sessionInfo()
## R version 4.2.1 (2022-06-23)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.5 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.16-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.16-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_GB              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] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] interacCircos_1.8.0
## 
## loaded via a namespace (and not attached):
##  [1] Rcpp_1.0.9         digest_0.6.30      plyr_1.8.7         R6_2.5.1          
##  [5] jsonlite_1.8.3     magrittr_2.0.3     evaluate_0.17      stringi_1.7.8     
##  [9] rlang_1.0.6        cachem_1.0.6       cli_3.4.1          jquerylib_0.1.4   
## [13] bslib_0.4.0        rmarkdown_2.17     RColorBrewer_1.1-3 tools_4.2.1       
## [17] stringr_1.4.1      htmlwidgets_1.5.4  xfun_0.34          yaml_2.3.6        
## [21] fastmap_1.1.0      compiler_4.2.1     htmltools_0.5.3    knitr_1.40        
## [25] sass_0.4.2

Document

Please visit https://mrcuizhe.github.io/interacCircos_documentation/index.html for a full document of interacCircos.

Contact

Please visit https://github.com/mrcuizhe/interacCircos/issues for bug issues or contact cuizhet[at]hit.edu.cn for helping.