UNPKG

biojs-pcviz

Version:

BioJS wrapper for PCViz widget from Pathway Commons team

22 lines (18 loc) 612 B
<html> <body> <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="./build/biojspcviz.js"></script> <script type="text/javascript"> $(document).ready(function() { var biojspcviz = require('biojs-pcviz'); // Create an instance of PCViz var pcviz = new biojspcviz({ el: document.getElementById('testDiv'), query: "BRCA1"}); // Visualize the neighborhood of "BRCA1" gene in a div using this new instance pcviz.neighborhood(); console.log("Done."); }); </script> <h3>Test page</h3> <div id="testDiv"></div> </body> </html>