Download LINE.zip and click *.html file(in LINE.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#chr pos value
1 813468 0.5
1 3383745 0.22385
1 6157646 0.238643
1 24793116 0.876947
......
X 136860114 0.267261
X 138413104 0.847613
X 149344414 0.830811
X 154203563 0.43466
Following fields are required:
The 1 column(chr
) is the name of the chromosome.
The 2 column(pos
) is the position of the point.
The 3 column(value
) is the value of the point.
python NGCircos_PrepareData.py LINE LINE01.txt > LINE01.js
var LINE01 = [ "LINE01" , {
maxRadius: 220,
minRadius: 170,
LineColor: "#EEAD0E",
LineWidth: 2,
} , [
{chr: "1", pos: "813468", value: "0.5"},
{chr: "1", pos: "3383745", value: "0.22385"},
{chr: "1", pos: "6157646", value: "0.238643"},
{chr: "1", pos: "24793116", value: "0.876947"},
......
{chr: "X", pos: "136860114", value: "0.267261"},
{chr: "X", pos: "138413104", value: "0.847613"},
{chr: "X", pos: "149344414", value: "0.830811"},
{chr: "X", pos: "154203563", value: "0.43466"},
]];
<script src="js/LINE01.js"></script>
NGCircos01 = new NGCircos(LINE01,NGCircosGenome,{ // Initialize with "LINE01" data tag
Download svg ↓