circosJS
circosJS copied to clipboard
Questions about heatmap color configuration
I am trying to run the heatmap graph in the demo but with error about color configuration. But the highlight graph is ok with the color settings. The error is:"circos.js:13427 Uncaught TypeError: Cannot read property '0' of undefined"
I met the same situation, then I found out it might be a problem with the circos.js file which I loaded in the HTML.
If you use the remote file(the one used in demo),
<script src='https://cdn.rawgit.com/nicgirault/circosJS/v2/dist/circos.js'></script>
.
, when you init a heatmap, you will meet this error, Uncaught TypeError: Cannot read property '0' of undefined"
. But If you just load the file which was download by npm, everything works perfectly.