Team:Groningen/Brainstorm/Modelling

From 2009.igem.org

(Difference between revisions)
(Demo of interactive plots)
m (Interactive Graphs?: Fixed linkage of graphs (a bit).)
Line 87: Line 87:
   chart[0] = new google.visualization.ScatterChart(document.getElementById('chart1'));
   chart[0] = new google.visualization.ScatterChart(document.getElementById('chart1'));
   chart[1] = new google.visualization.ScatterChart(document.getElementById('chart2'));
   chart[1] = new google.visualization.ScatterChart(document.getElementById('chart2'));
-
   google.visualization.events.addListener(chart[0], 'select', handleSelect );
+
   google.visualization.events.addListener(chart[0], 'select', function() { handleSelect(0); } );
-
   //google.visualization.events.addListener(chart[1], 'select', function() { handleSelect(1); } );
+
   google.visualization.events.addListener(chart[1], 'select', function() { handleSelect(1); } );
   // Query spreadsheet and let result be drawn
   // Query spreadsheet and let result be drawn
Line 110: Line 110:
}
}
-
function handleSelect() {
+
function handleSelect(chartIndex) {
-
  var chartIndex = 0;
+
   var selection_org = chart[chartIndex].getSelection();
   var selection_org = chart[chartIndex].getSelection();
   var view_org = view[chartIndex];
   var view_org = view[chartIndex];

Revision as of 14:31, 28 April 2009

[http://2009.igem.org/Team:Groningen http://2009.igem.org/wiki/images/f/f1/Igemhomelogo.png]


Software tools from previous years

Other potentially interesting software tools:

Interactive Graphs?

It might be interesting to use JavaScript to present simulation results. This would allow for some degree of interaction (like resizing graphs, linked views, etc.) and may even make it somewhat easier to use graphs, we'd simply have some on-line repository of simulation results (a spreadsheet for example) and we could select which graphs to use on the Wiki.

Below an example of a JavaScript generated graph is shown. Note that the two views of the data are linked (although at this time both the kind of graph and the link is not optimal) and that it would be possible to create templates for creating these linked graphs. The current demo is based on Google technology, but it looks like [http://www.dojotoolkit.org/ the Dojo Toolkit] has more advanced charting capabilities at this moment (although I don't know how well they're supported in different browsers).

Taking this idea (much) further it would even be possible to run simulations using JavaScript (and charting the results), based on SBML models. However, this would involve much, much more effort than just showing a few interactive plots.

Literature

See our literature list. For our team members that are looking for books on the subject, have a look under code [http://opc.ub.rug.nl/DB=1/SET=2/TTL=1/CLK?IKT=8110&TRM=605B 605B] (Bernoulliborg library, lower floor), as well as 605C/D/E (A and Z also exist but seem to be less interesting) and 610A (and possibly 625, 715).