Learn R Programming

interacCircos

The interacCircos package is designed for visualization of interactive Circos plot

Introduction

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.

Features

  • 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.

Installation

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

Document is available at

Or

Contact

Please contact cuizhe@hit.edu.cn or mrcuizhe@gmail.com for help

Copy Link

Version

Install

install.packages('interacCircos')

Monthly Downloads

2

Version

1.0.0

License

GPL-3

Maintainer

Zhe Cui

Last Published

January 21st, 2021

Functions in interacCircos (1.0.0)

CircosBackground

Create a BACKGROUND module to be added to a moduleList
CircosCnv

Create a CNV module to a moduleList
CircosChord

Create a CHORD module of NG-Circos to a moduleList
CircosArc

Create a ARC module to a moduleList
CircosAuxLine

Create a AUXILIAYLINE module to a moduleList
Circos-shiny

Shiny bindings for interacCircos
CircosGene

Create a GENE module to a moduleList
CircosBubble

Create a BUBBLE module to a moduleList
CircosChord.p

Create a CHORD module of circosJS to a moduleList
Circos

interacCircos
CircosHeatmap

Create a HEATMAP module to a moduleList
wigExample

Wig plot example data
CircosWig

Create a WIG module to a moduleList
CircosLine

Create a LINE module to a moduleList
CircosLegend

Create a LEGEND module to a moduleList
CircosHistogram

Create a HISTOGRAM module to a moduleList
bubbleExample

Bubble plot example data
histogramExample

Histogram plot example data
arcExample

Arc plot example data
chord.pExample

Example data of chord plot of circosJS
CircosSnp

Create a module with SNPs to be added to a moduleList
CircosText

Create Text module to be added to a moduleList
geneExample

Gene plot example data
heatmapExample

Heatmap plot example data
CircosLink

Create a LINK module to a moduleList
CircosLollipop

Create a LOLLIPOP module to a moduleList
chordExample

Example data of chord plot of NG-Circos
cnvExample

Cnv module example data
lineExample

Line plot example data
CircosScatter

Create a SCATTER module to a moduleList
CircosModuleList

Create a list of modules
scatterExample

Scatter plot example data
lollipopExample

Lollipop plot example data
snpExample

Snp plot example data
linkExample

Link plot example data