The interacCircos package is designed for visualization of interactive Circos plot
The interacCircos package is inspired by circosJS, BioCircos.js and NG-Circos.
circosJS, BioCircos.js and NG-Circos are developed in JavaScript to provide a framework for displaying the interactive Circos plot in website.
For these 3 JavaScript library, plot are all drawn through different JS functions(back-end) and displayed through HTML element(front-end), which requires users be familiar with JavaScript language and HTML language very much. Besides, the way of data input in JavaScript is not user-friendly, especially for data with millions of rows.
We integrate the modules of circosJS, BioCircos.js and NG-Circos into this R package: interacCircos, based on htmlwidgets framework.
21 modules(Arc, Auxilirayline, Background, Bubble, Chord,chord.p, Cnv, Combination, Compare, Gene, Heatmap, Histogram, Legend, Line, Link, Lollipop, Redirect, Scatter, Snp, Text, Wig) of circosJS, BioCircos.js and NG-Circos are available at interacCircos. All modules from different libraries are now presented in R function and compatible to each other.
Instead of transforming data using python script of manually, the data can be directly input into interacCircos through data.frame format, which is one of the most common data type of R and can easily cooperate with other R packages.
interacCircos is much more programming friendly. Users can draw a multi-track interactive Circos plot in at least 2 steps, as easy as drawing a plot using ggplot2.
By devtools
# Via devtools
if (!require('devtools')){install.packages('devtools')}
devtools::install_github('mrcuizhe/interacCircos')
# htmlwidgets, RColorBrewer, plyr, jsonlite, grDevices are required !
By CRAN:
#Via CRAN
install.packages("interacCircos")
# htmlwidgets, RColorBrewer, plyr, jsonlite, grDevices are required !
Document is available at
Or
Please contact cuizhe@hit.edu.cn or mrcuizhe@gmail.com for help
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.