UNPKG

biojs-vis-seqlogo

Version:
9 lines (8 loc) 341 B
var app = require("biojs-vis-seqlogo"); var xhr = require("xhr"); xhr("./data/example.json", function(err,resp,body){ var data = JSON.parse(body); var instance = new app({el: yourDiv,data: data, columnInfo: false, xaxis: true, yaxis: true, show_probs: true, border: true, show_divider: true, settings: true}); instance.render(); });