Personal tools

User:Hisa/cytoscape test: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 35: Line 35:
                     }
                     }
                 };
                 };
                var sif = 'FF:0000004 is_a FF:10000-101A1
FF:0000210 is_a FF:10000-101A1';
                  
                  
                 // initialization options
                 // initialization options
Line 46: Line 49:
                 // init and draw
                 // init and draw
                 var vis = new org.cytoscapeweb.Visualization(div_id, options);
                 var vis = new org.cytoscapeweb.Visualization(div_id, options);
                 vis.draw({ network: "FF:0000004 is_a FF:10000-101A1
                 vis.draw({ network: sif });
FF:0000210 is_a FF:10000-101A1" });
             };
             };
         </script>
         </script>

Revision as of 09:50, 20 April 2012

Cytoscape Web will replace the contents of this div with your graph.