shinyCircos-V2.0 help
Last updated
Last updated
shinyCircos-V2.0 is a web application developed using R/Shiny for interactive creation of Circos diagrams.
Source code: https://github.com/YaoLab-Bioinfo/shinyCircos-V2.0 Online use: https://venyao.xyz/shinyCircos-V2.0/ Contact: gentelmanwang@gmail.com or yaowen@henau.edu.cn
shinyCircos is a web application for creation of Circos plot developed by Yu et al in 2017, which has been recognized by many users for its graphical user interface and ease of use. shinyCircos-V2.0 is the updated version of shinyCircos. In shinyCircos-V2.0, we developed several advanced features, designed brand-new user interface, and fixed bugs detected in shinyCircos.
Before using shinyCircos-V2.0, we need to understand the structure of a typical Circos plot. Please check the names of each component of a typical Circos plot, which will help you go through this manual.
To use shinyCircos-V2.0, input datasets must be prepared in correct format.
We recommend uploading the input file in ".csv" format, as ".csv" files are explicit and commonly used in data storage and analysis. Please note that proper names and orders of columns are critical for the input data.
A chromosome data is indispensable for shinyCircos-V2.0, as it defines the chromosomes of a Circos plot. Two types of Chromosome data are accepted by shinyCircos-V2.0, the General chromosome data, and the Cytoband chromosome data.
Chromosomes data can be a general chromosome data with three columns in fixed order: the chromosome ID, the start and end coordinates of different genomic regions. Column names are optional, and can be any valid names accepted by R.
chr1
1
249250621
chr2
1
243199373
chr3
1
198022430
chr4
1
191154276
chr5
1
180915260
chr6
1
171115067
An example general chromosome data.
The default color of the chromosome bands of a Circos plot created with a general chromosome data is gray.
Cytoband data contains five columns in fixed order: the chromosome ID, the start and end coordinates of different genomic regions, the name of cytogenetic band, and Giemsa stain results. Column names are optional, and can be any valid names accepted by R.
chr1
1
2300000
p36.33
geng
chr1
2300000
5400000
p36.32
gpos25
chr2
1
4400000
p25.3
geng
chr2
4400000
7100000
p25.2
gpos50
chr3
1
2800000
p26.3
gpos50
chr3
2800000
4000000
p26.2
geng
An example cytoband chromosome data.
A Circos plot with Ideogram chromosome will be created when cytoband chromosome data is used.
One or multiple input datasets can be uploaded and displayed in different Tracks of a Circos diagram. Different types of plot can be created using the input datasets. Order of the first three columns of the input data for any type of plot are fixed, namely the chromosome, the start and end coordinates of genomic regions.
The input data to make bar plot in a Circos diagram should contain at least four columns in fixed order: the chromosome, the start and end coordinates of genomic regions, and a fourth column with data values. Please note that the fourth column must be positive or negative numeric real numers. Names of the first four columns are optional, and can be any valid names accepted by R.
Two types of bar plots can be created, the unidirectional and bidirectional bar plots.
chr1
10382554
26901963
0.374
chr1
26901963
30511288
0.084
chr2
2129395
9774923
0.237
chr2
14718126
15320740
0.529
chr3
472933
7160480
0.477
chr3
10972902
11789212
0.636
Input data to make unidirectional bars.
For unidirectional bar plot, the minimum value of the fourth column will be used as the starting point of all bars, as shown in the following image. By default, the color of all bars are randomly assigned by shinyCircos.
For unidirectional bar plot, an additional 'color' column can be added in the input data to make colored bars in shinyCircos-V2.0. Name of the 'color' column must be explicitly specified as 'color'.
To customize color for data with multiple groups, the column indicating different groups should be named as 'color'. Users should provide a character strings assigning colors to each group. For example, 'a:red;b:green;c:blue', in which 'a b c' represent different data groups. Color for data groups without assigned color would be set as 'grey'.
chr1
2321390
22775301
-0.525358698
a
chr1
43812694
44287183
0.101162224
a
chr3
10094726
13041378
-0.117686062
a
chr3
17700130
17853399
0.229028492
a
chr4
58783476
66246991
-0.866641798
a
chr4
77375595
79033629
-0.313168927
b
Input data to make colored bars.
For bidirectional bars, the 4th column which contains the data values will be divided into two groups based on the boundary value. The default boundary value is set as zero, which can be modified by the user.
chr1
5622039
9110831
0.095
chr1
5622039
9110831
-0.405
chr2
13669568
16275459
0.936
chr2
13669568
16275459
-0.436
chr3
4777699
8367346
0.174
chr3
4777699
8367346
-0.326
Input data to make bidirectional bars.
The input data to make line chart should contain at least four columns in fixed order. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. The fourth column is the data values of all genomic regions. Please note that the fourth column must be positive or negative numeric real numers. Names of the first four columns are optional, and can be any valid names accepted by R. By default, the color of all lines are randomly assigned by shinyCircos.
chr1
788538
5571920
0.309
chr1
6704086
10962288
-0.075
chr2
5331353
17190915
0.129
chr2
27214061
37578483
-0.796
chr3
1424915
5127305
-0.413
chr3
10792280
11980906
-0.096
An example dataset to plot lines.
An additional 'color' column can be added in the input dataset to assign colors to lines of different groups on the same track. Name of the 'color' column must be explicitly specified as 'color'.
chr1
2306857
8605927
-0.207
a
chr1
20851761
21889246
0.121
a
chr4
97627526
102877458
0.259
a
chr4
106904642
109386825
-0.65
b
chr14
84253948
92430157
0.396
c
chr14
97757077
100917700
-0.366
c
An input dataset with a color column to create line plot.
Multiple lines can be drawn on the same track by adding multiple columns of data values in the input dataset. For this type of input data, all column names are optional, and can be any valid names accepted by R.
chr1
294540
4666160
-0.66
-0.596
chr1
17589118
18065224
-0.138
-0.747
chr2
6872874
16224260
-0.77
-0.403
chr2
24936258
28070400
0.716
0.22
chr3
503979
24719267
0.217
-0.459
chr3
24979219
43289811
0.226
-0.185
Example input dataset with multiple columns of data values.
The format of input dataset to plot points is similar to the input data to make line charts.
The input data to plot points should contain at least four columns in fixed order. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. The fourth column is the data values of all genomic regions. Please note that the fourth column must be positive or negative numeric real numers. Names of the first four columns are optional, and can be any valid names accepted by R. By default, the color of all points are randomly assigned by shinyCircos.
chr1
1769292
1796134
0.339
chr1
4881594
5495466
1.005
chr2
5800619
8815540
0.088
chr2
10440452
10893876
-0.891
chr3
41265
7536287
-0.1
chr3
9209200
12874260
-0.032
An example dataset to plot points.
An additional 'cex' column can be added in the input data to control the size of the points. The 'cex' column should be positive numeric numbers. Name of the 'cex' column must be explicitly specified as 'cex'.
chr1
1326341
1845331
-0.374
0.5
chr1
9901462
15656953
-0.321
0.3
chr2
17619104
25624262
-0.194
0.6
chr2
26946941
27889388
0.27
0.6
chr3
1720430
4389146
-0.319
0.6
chr3
6104592
7216808
0.315
0.6
Input data to plot points with a 'cex' column.
Similarly, an additional 'color' column can be added in the input data to assign colors to points of different groups on the same track. Name of the 'color' column must be explicitly specified as 'color'.
chr1
6098636
13915642
0.372
a
chr1
42002814
45209039
-0.253
a
chr9
8290596
22658143
-0.598
c
chr9
24382136
34055254
0.279
c
chrY
30359053
32853733
-0.286
d
chrY
34769699
39644200
0.343
d
Input data to plot points with a 'color' column.
Moreover, an additional 'pch' column can be added in the input data to control the shapes of points for different groups on the same track. Name of the 'pch' column must be explicitly specified as 'pch'.
(Image Source: http://coleoguy.blogspot.com/2016/06/symbols-and-colors-in-r-pch-argument.html)
chr1
8605110
17214753
0.208
1
chr3
121395059
124720880
0.269
1
chr3
126119336
134480084
0.947
8
chr7
59003737
65956990
-0.403
13
chr11
128515663
132431158
0.146
16
chr12
7434839
18272884
0.766
16
Input data to plot points with a 'pch' column.
The 'cex', 'color' and 'pch' columns can appear in a single input dataset, at the same time.
chr1
4049230
11358879
-0.59
10
0.4
chr1
18671867
29619034
0.442
10
0.7
chr4
72761399
91691619
0.134
17
0.4
chr4
101737149
102799485
-0.025
17
0.9
chr7
4065399
7750398
-0.327
17
0.6
chr7
9065662
15775923
0.174
17
0.2
Input data to plot points with a 'pch' column and a 'cex' column.
chr1
8900700
9211013
-0.6
a
0.3
chr1
38733680
54945292
0.233
a
1.1
chr5
25650709
32392960
0.409
b
0.3
chr5
33011156
54462250
-0.245
b
1.1
chr7
86777790
89385025
0.006
b
0.9
chr7
103848396
107618696
-1.093
b
1
Input data to plot points with a 'color' column and a 'cex' column.
chr1
3768320
4851773
-0.416
a
15
chr1
5712552
10112216
-0.41
a
15
chr10
5831619
10981299
0.299
b
15
chr10
13728053
15927681
0.025
b
15
chr22
22254151
36401489
0.182
c
17
chr22
40556634
47770670
-0.011
c
17
Input data to plot points with a 'color' column and a 'pch' column.
chr1
14053524
24878326
-0.498
a
1
0.9
chr1
29640089
49313488
-0.565
a
1
1
chr4
8408012
12767180
-0.108
b
4
0.4
chr4
22963697
41682972
-0.45
b
4
0.9
chr9
51441395
53095312
0.527
c
6
1.1
chr9
65510881
69698456
0.127
c
6
1.1
Input data to plot points with a 'color' column, a 'pch' column and a 'cex' column.
Similarly, we can also plot multiple groups of point charts by adding multiple columns of data values in the input data. For this type of input data, all column names are optional, and can be any valid names accepted by R.
chr1
7224218
16393864
-0.196
-0.955
chr1
21093451
25392112
0.128
0.275
chr3
14909280
22502495
0.421
-0.185
chr3
24704666
26117987
-0.102
0.637
chr4
35556750
37025119
0.063
0.848
chr4
39947625
63436481
0.28
-0.262
Example input dataset with multiple columns of data values.
An ideogram is a graphical representation of chromosomes. In shinyCircos-V2.0, we can draw ideogram on any Track. The format of input data to create ideogram is the same as that of the Cytoband chromosome data with five columns.
chr1
1
2300000
p36.33
gneg
chr1
2300000
5400000
p36.32
gpos25
chr2
1
4400000
p25.3
gneg
chr2
4400000
7100000
p25.2
gpos50
chr3
1
2800000
p26.3
gpos50
chr3
2800000
4000000
p26.2
gneg
An example dataset to create ideogram.
The input data to plot discrete rectangles should contain only four columns in fixed order. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. The fourth column must be a chracter vector. All column names are optional, and can be any valid names accepted by R.
chr1
1465
5857186
b
chr1
6005405
7051583
c
chr3
13
3831804
d
chr3
3989861
11612588
g
chr5
56
2698252
h
chr5
2719598
9370038
c
An example dataset to create discrete rectangles.
The input data to plot gradual rectangles should contain only four columns in fixed order. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. The fourth column is the data values of all genomic regions. Please note that the fourth column must be real numbers. All column names are optional, and can be any valid names accepted by R.
chr1
1
6657591
0.034
chr1
9792529
20706145
-0.527
chr3
651
27839332
-0.532
chr3
28591880
29683518
-0.156
chr5
407
16490429
0.281
chr5
17056645
32303717
0.485
An example dataset to create gradual rectangles.
The input data to plot discrete heatmaps should contain ≥4 columns. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. Each of the rest columns should be a chracter vector. All column names are optional, and can be any valid names accepted by R.
chr1
20621957
21209624
d
a
a
e
e
c
d
g
g
d
chr1
42967726
53028972
f
b
h
b
g
c
b
h
h
d
chr3
17138030
40796035
f
h
c
f
a
a
g
h
h
h
chr3
57219142
60650338
g
b
g
f
b
g
f
f
b
e
chr5
8910650
10080670
f
c
e
c
b
e
h
b
a
g
chr5
13535538
32715550
h
h
h
e
d
c
e
b
h
c
An example dataset to create discrete heatmaps.
The input data to plot gradual heatmaps should contain ≥4 columns. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. Each of the rest columns should be a numeric vector. All column names are optional, and can be any valid names accepted by R.
chr1
20621957
21209624
-0.672
-0.271
-0.001
0.486
-0.986
-0.37
0.48
0.38
0.158
0.108
chr1
42967726
53028972
-0.147
0.387
1.332
0.182
0.16
-0.132
0.234
-0.089
-0.918
0.397
chr3
17138030
40796035
0.046
0.028
-0.691
-0.341
1.011
-0.242
-0.027
-0.273
0.276
-1.028
chr3
57219142
60650338
-0.514
0.429
0.29
-0.356
-0.025
0.537
-0.368
0.486
0.392
-0.085
chr5
8910650
10080670
0.175
-0.855
0.934
-0.914
0.879
-0.181
-0.512
-0.074
0.302
0.04
chr5
13535538
32715550
0.088
0.005
1.005
-0.076
-0.007
0.371
0.494
-0.236
0.219
-0.422
An example dataset to create gradual heatmaps.
Using shinyCircos-V2.0, we can also create stack point chart. The input data should contain only four columns in fixed order. The 1st column defines the chromosome of multiple genomic regions. The 2nd and 3rd columns define the start and end coordinates of these genomic regions. The fourth column represents the group of different data values. And data values of the same group will be plotted on the same line. Column names are optional, which can also be any valid names accepted by R..
chr1
11589909
40133642
a
chr1
52614734
59580026
a
chr5
28358375
28943627
a
chr1
87453098
89776607
b
chr5
6608219
8525932
b
chr5
39324082
40131031
b
An example dataset to create stack points.
Similarly, we can also create stack line chart using shinyCircos-V2.0. The input data format is the same as the input data for stack-point.
chr1
20646359
46383846
a
chr5
2723623
5392944
a
chr9
4943376
8560799
a
chr5
89644
46679748
b
chr9
29528190
72792793
b
chr13
22993703
23901290
b
An example dataset to create stack lines.
Label data is used to annotate the elements in a specified track with text labels. The input data should contain four or five columns, as shown in the table below.
The four-column label data is used to draw labels with a uniform color. By default, the color for label text is assigned as "black", which can be specified by the user with a widget implemented in shinyCircos. Column names for four-column label data is optional, and can be any valid names accepted by R.
chr1
3698046
3736201
TP73
chr1
156114670
156140089
LMNA
chr5
42423775
42721878
GHR
chr5
150113839
150155859
PDGFRB
chr9
116153792
116402321
PAPPA
chr9
21967752
21975133
CDKN2A
An example four-column label data.
The five-column label data is used to draw labels with varying colors specified by the user, using an additional 'color' column. Column names for five-column label data is indispensable. Names of the first four columns can be any valid names accepted by R. Name of the fifth 'color' column must be explicitly specified as 'color'.
chr1
3698046
3736201
TP73
red
chr1
156114670
156140089
LMNA
#FF000080
chr5
42423775
42721878
GHR
blue
chr5
150113839
150155859
PDGFRB
blue
chr9
116153792
116402321
PAPPA
blue
chr9
21967752
21975133
CDKN2A
green
An example label data with a 'color' column.
The links data should contain six or seven columns. The first three columns define the chromosome, the start and end coordinates of multiple genomic regions. The 4-6th columns of the input dataset define the chromosome, the start and end coordinates of another set of genomic regions. Links will be created between all pairs of genomic regions in the same line of the input dataset. By default, the color of all links are randomly assigned by shinyCircos.
For six-columns links input data, column names is optional, and can be any valid names accepted by R.
For seven-columns links input data, column names is indispensable. Names of the first six columns can be any valid names accepted by R. Name of the 7th column must be explicitly specified as 'color'.
chr20
37720821
47419255
chr5
162124929
168434522
chr8
76179361
83302661
chr1
162049212
213797379
chr2
38375277
49805216
chr11
19060895
36294068
chr2
120255288
134792772
chr13
62362083
71502856
chr4
95199225
102508113
chr13
16327889
24910342
chr15
83769167
83992136
chr10
83790329
119443216
An example links input data.
For seven-columns links input data, the 7th 'color' column can be a character vector or a numeric vector.
chr20
37720821
47419255
chr5
162124929
168434522
c
chr8
76179361
83302661
chr1
162049212
213797379
c
chr2
38375277
49805216
chr11
19060895
36294068
b
chr2
120255288
134792772
chr13
62362083
71502856
a
chr4
95199225
102508113
chr13
16327889
24910342
a
chr15
83769167
83992136
chr10
83790329
119443216
b
An example links dataset with a color column of characters.
chr20
37720821
47419255
chr5
162124929
168434522
217
chr8
76179361
83302661
chr1
162049212
213797379
7
chr2
38375277
49805216
chr11
19060895
36294068
206
chr2
120255288
134792772
chr13
62362083
71502856
27
chr4
95199225
102508113
chr13
16327889
24910342
189
chr15
83769167
83992136
chr10
83790329
119443216
161
An example links dataset with a color column of numeric numbers.
The shinyCircos-V2.0 application contains 8 main menus: "shinyCircos-V2.0", "Data Upload", "Circos Parameters", "Circos Plot", "Gallery", "Help", "About" and "Contact". The "shinyCircos-V2.0" menu gives a brief introduction to the shinyCircos-V2.0 application.
The "Data Upload" menu allows the user to upload their own input data from the local disk or load example datasets from shinyCircos.
You can upload multiple datasets at the same time or upload them separately. Remember to save the uploaded data timely. When all input datasets were properly uploaded, please drag the uploaded datasets from the 'Candidate area' to the box of 'Chromosome data' or 'Track data' or 'Label data' or 'Links data', and then Click the 'Save uploaded data' button.
The users can also choose to load example datasets stored in shinyCircos. A total of 10 different example datasets are stored in shinyCircos.
The "Circos Parameters" provided functionalities for users to view the contents of all uploaded datasets, and the functionalities for users to set parameters for each input dataset. The input datasets are categorized into four groups, including Chromosome data, Track data, Label data and Links data. The filename of each input dataset is diaplayed in a single row of this page. And the content of each dataset can be viewed by clicking the eye icon beside the corresponding file name. For each input dataset, the user is required to set the plot type and other plotting parameters. A small gear at the end of each row is designed for users to set the plotting parameters.
Once all the input datasets and the parameters were submitted to the shinyCircos server, a Circos plot will be created and displayed in the 'Circos plot' page of shinyCircos-V2.0. The created Circos plot can be downloaded in PDF or SVG format. Several advanced options to tune the appearance of the created Circos plot are implemented under the 'Advanced options' button.
Thirty example Circos plots created with shinyCircos-V2.0 are listed in the "Gallery" menu of the shinyCircos-V2.0. The input datasets used to create each example plot are also provided for downloading.
Help tutorials on the usage of shinyCircos-V2.0 are provided in the Help page.
The dependent R packages used by shinyCircos-V2.0 and other information are given in the "About" menu of shinyCircos-V2.0.
Contact information is given in the "Contact" page of shinyCircos-V2.0.
Users can choose to install and run shinyCircos-V2.0 on a personal computer (Windows, Mac or Linux) without uploading data to the server of shinyCircos-V2.0. shinyCircos-V2.0 is a cross-platform application, i.e. shinyCircos-V2.0 can be installed on any platform with an available R environment. The installation of shinyCircos-V2.0 consists of three steps.
Start an R session with RStudio and run the following lines:
Make sure all the packages are installed correctly.
Start an R session with RStudio and run the following lines:
This command will download the source code of shinyCircos-V2.0 from GitHub to a temporary directory on your computer, and then launch the shinyCircos-V2.0 application in a web browser. The downloaded shinyCircos-V2.0 code will be deleted from your computer once the web browser is closed. The next time you run this command in RStudio, it will download the source code of shinyCircos-V2.0 from GitHub again to a temporary directory. This process is cumbersome because it takes some time to download the shinyCircos-V2.0 code from GitHub.
We recommended that users download the source code of shinyCircos-V2.0 from GitHub to a fixed directory on your computer, such as "E:\apps" on Windows. A zip file named "shinyCircos-V2.0-master.zip" will be downloaded to your computer. Move this file to "E:\apps" and unzip this file. Then a directory named "shinyCircos-V2.0-master" will be generated in "E:\apps". The scripts "server.R" and "ui.R" can be found in "E:\apps\shinyCircos-V2.0-master". You can then start the shinyCircos-V2.0 application by running the following lines in RStudio.
The shinyCircos-V2.0 application will then be opened in your computer's default web browser.
To make a Circos plot using shinyCircos-V2.0, the user must prepare and upload a file that defines the chromosomes of a specific genome, as well as other input data to be displayed along the genome. In this section, we will demonstrate all the basic steps to create a Circos diagram using example datasets.
A chromosome data is indispensable for shinyCircos-V2.0, as it defines the chromosomes of a Circos plot. The detailed format of a Chromosome data is described in the "2 Input data format" section.
A file named as 'chromosome_general.csv' was uploaded from the local disk to to shinyCircos-V2.0 using the data upload widget implemented in the "Data Upload" menu of the shinyCircos-V2.0 application, as shown in the figure below.
Except for a Chromosome data, one or multiple other input datasets can be uploaded to shinyCircos-V2.0, to be displayed in different trakcs of a Circos plot. The detailed format of input files to make different types of plot is detailed in the "2 Input data format" section. Here, two files named as "barplot.csv" and "line.csv" were uploaded from local disk to shinyCircos-V2.0. Both datasets were distributed into the 'Track data' box. Remember to save the uploaded data timely.
By default, the track index for the input datasets were determined by the order of uploading. And the default plot type for all input datasets were set as 'point'. Here, we need to set the plot type for "barplot.csv" as 'bar', and set the plot type for "line.csv" as 'line'.
When the track indedx and plot type were correctly setted for all the input datasets, please click the "Step 4. Submit the plot parameters to make the Circos plot!" button at the bottom of the "Circos Parameters" page to make the desired Circos plot. By default, random colors or predefined colors will be used by shinyCircos-V2.0 if necessary.
A track of a Circos plot is usually defined by a single input dataset. And a typical Circos plot usually contains multiple tracks defined by multiple input datasets. From time to time, we may want to replace one or more of these input files so that we can update some tracks of a Circos plot without recreating the entire plot.
For example, we want to create a Circos plot with discrete rectangles by replacing "line.csv" in Track 2 (Section 4.1) with a new input file "rect_discrete.csv".
To achieve this, we can go to the "Data Upload" page and upload "rect_discrete.csv" to shinyCircos-V2.0, distribute the "rect_discrete.csv" file into the "Track data" box, and move the "line.csv" file to the "Garbage" box. After that, we should click the "Step 2.2. Save uploaded data" button. At the same time, we need to change the plot type of the newly uploaded dataset from 'line' to "rect_discrete".
Finally, we need to click the "Step 4. Submit the plot parameters to make the Circos plot!" button at the bottom of the "Circos Parameters" panel to update the Circos plot.
The created Circos plot can be downloaded as a PDF or a SVG file using the widgets "Download PDF-file" and "Download SVG-file" on the top of the "Circos Plot" page. By default, the two files are named as "shinyCircos.pdf" and "shinyCircos.svg", respectively. The downloaded PDF file can be opened in Adobe Acrobat, while the downloaded SVG file "shinyCircos.svg" can be opened in Google Chrome browser.
Using shinyCircos-V2.0, 10 different types of graphs, including point, line, bar, stack-line, stack-point, rect-gradual, rect-discrete, heatmap-gradual, heatmap-discrete and ideogram, can be created. To create a Circos graph, at least one input data file is required, that is, a Chromosome data file that defines the length of the genome.
In this section, we will show the steps to create a complex Circos diagram with shinyCircos-V2.0.
Remember to click the "SAVE" button to input the genomic regions and check the data format. Remember to click the "Update!" button to bring all the set advanced options into effect.
In the "Circos Parameters" menu, a small gear button is displayed at the rightmost of each input dataset. By clicking this button, a page with multiple widgets will pop up for users to set parameters for the corresponding input data. Setting of several parameters are demonstrated in this section.
The default Track height is set as 0.1. The track height can be increased by turning up this number.
shinyCircos-V2.0 now supports adding a Y-axis to a specified track, to display the range of data values for the corresponding track.
This parameter is designed to tune the distance between adjancent tracks, which can also be used to tune the distance between a track and a label data, or the distance between a track and a link data.
shinyCircos-V2.0 also supports adding sector borders to one or multiple "Tracks" to emphasize these Tracks.
In shinyCircos-V2.0, users can adjust the background color of different Tracks to distinguish different tracks. The color can be null or a color vector of arbitrary length adjusted automatically to the number of sectors. For example, 'grey95' or 'grey95,grey,pink,yellow'. Hex color codes as '#FF0000' are also supported.
This parameter is used to tune the gap size between adjacent sectors. Numeric vector of arbitrary length is accepted and adjusted automatically to the number of sectors. For example, '1' or '1,2,3,1'. The first value corresponds to the gap between the first and the second sector.
Compared with the previous version of shinyCircos, we developed several advanced features in shinyCircos-V2.0.
For any of the plot type including "stack-line", "stack-point", "heatmap-gradual", "heatmap-discrete", "rect-gradual" and "rect-discrete", a figure legend can be added to the created Circos plot using the widget in "Advanced options" of the "Circos Plot" menu. The figure legend can be placed at the bottom or right side of the Circos plot.
shinyCircos-V2.0 supports highlighting one or multiple genomic regions of a Circos plot. This functionality is implemented in the "Advanced options" button of the "Circos Plot" menu.
shinyCircos-V2.0 supports resizing of a created Circos plot, using the widget shown below.
shinyCircos-V2.0 supports adding index to all the tracks of a Circos plot to distinguish different tracks. This functionality is implemented in the "Advanced options" button of the "Circos Plot" menu.