Edited wiki page forester through web user interface.
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Thu, 9 Jun 2011 22:49:32 +0000 (22:49 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Thu, 9 Jun 2011 22:49:32 +0000 (22:49 +0000)
wiki/forester.wiki

index 89469ca..744925a 100644 (file)
@@ -247,6 +247,11 @@ public class Example5 {
         final Sequence s2 = new Sequence();
         s2.setName( "Bcl-2" );
         d2.getNodeData().addSequence( s2 );
+        // Root is a speciation.
+        final Event ev = new Event();
+        ev.setSpeciations( 1 );
+        ev.setDuplications( 0 );
+        root.getNodeData().setEvent( ev );
         // Putting the tree together.
         root.addAsChild( d1 );
         root.addAsChild( d2 );
@@ -257,5 +262,4 @@ public class Example5 {
     }
 }
 
-}}}
-
+}}}
\ No newline at end of file