Пример #1
0
 public void loadTo(Kingroup kingroup) {
   Milligan model = kingroup.getMilligan();
   Kinship kinship = kingroup.getKinship();
   MilliganIBD prim = model.getPrimIBD();
   primView.loadTo(prim);
   nullView.loadTo(model);
   simView.loadTo(kinship);
   showView.loadTo(kinship);
 }
Пример #2
0
 public void loadFrom(Kingroup kingroup) {
   Kinship kinship = kingroup.getKinship();
   Milligan model = kingroup.getMilligan();
   MilliganIBD prim = model.getPrimIBD();
   primView = new MilliganIBDView(prim);
   nullView = new MilliganIBDArrView(model);
   //    hapView = new KinshipHaploidOptView(model);
   showView = new KinshipDisplayWithLogView(kinship);
   simView = new KinshipRatioSimView(kinship);
 }