https://github.com/dnanexus/dot
Tip revision: 42701caf4cbcacfa0f25c8e366202cc4043a86f7 authored by Loren Buhle on 07 January 2020, 18:38:32 UTC
Update README.md
Update README.md
Tip revision: 42701ca
app.js
function main(loadedData) {
// _dot.setData(loadedData.alignments);
_dot.setCoords(loadedData.coords, loadedData.index);
if (loadedData.annotations !== undefined) {
for (var key in loadedData.annotations) {
_dot.addAnnotationData({key: key, data: loadedData.annotations[key]});
}
}
}