Download SCATTER.zip and click *.html file(in SCATTER.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#chr start end name des
1 1102484 1102578 hsa-mir-200b breast cancer
11 122017230 122017301 hsa-let-7a-2 ovarian cancer
22 46508629 46508702 hsa-let-7a-3 leukemia cancer
14 101349316 101349412 hsa-mir-127 breast cancer
Following fields are required:
The 1 column(chr
) is the name of the chromosome.
The 2 column(start
) is the start position of the scatter.
The 3 column(end
) is the end position of the scatter.
The 4 column(name
) is the name of the scatter.
The 5 column(des
) is the description of the scatter.
python NGCircos_PrepareData.py SCATTER SCATTER01.txt > SCATTER01.js
var SCATTER01 = [ "SCATTER01" , {
SCATTERRadius: 220,
innerCircleSize: 1,
outerCircleSize: 7,
innerCircleColor: "red",
outerCircleColor: "#CC3399",
innerPointType: "circle", //circle,rect
outerPointType: "circle", //circle,rect
innerrectWidth: 2,
innerrectHeight: 2,
outerrectWidth: 10,
outerrectHeight: 10,
outerCircleOpacity: 1,
random_data: 0
} , [
{chr: "1", start: "1102484", end: "1102578", name: "hsa-mir-200b", des: "breast cancer"},
{chr: "11", start: "122017230", end: "122017301", name: "hsa-let-7a-2", des: "ovarian cancer"},
{chr: "22", start: "46508629", end: "46508702", name: "hsa-let-7a-3", des: "leukemia cancer"},
{chr: "14", start: "101349316", end: "101349412", name: "hsa-mir-127", des: "breast cancer"},
]];
<script src="js/SCATTER01.js"></script>
NGCircos01 = new NGCircos(SCATTER01,NGCircosGenome,{ // Initialize with "SCATTER01" data tag
Download svg ↓