protected MatrixI distances;
- public MatrixI testDistances;
-
protected int mini;
protected int minj;
this.scoreModel = sm;
this.scoreParams = scoreOptions;
- testDistances = scoreModel.findDistances(seqData, scoreParams);
distances = scoreModel.findDistances(seqData, scoreParams);
+
makeLeaves();
noClus = clusters.size();
import jalview.ext.forester.ForesterMatrix;
import jalview.util.MessageManager;
-import org.forester.evoinference.distance.NeighborJoiningF;
import org.forester.evoinference.matrix.distance.DistanceMatrix;
import org.forester.phylogeny.Phylogeny;
import org.forester.phylogeny.PhylogenyNode;
jalviewTree = calculatedTree;
sequences = jalviewTree.getSequences();
distances = ForesterMatrix.convertJalviewToForester(
- jalviewTree.testDistances, sequences);
+ jalviewTree.getDistances(), sequences);
aptxTree = new Phylogeny();
rootNode = new PhylogenyNode();
buildAptxTree();
-
return aptxTree;
}
public Phylogeny buildAptxTree()
{
+ // NeighborJoiningF foresterClustering = NeighborJoiningF
+ // .createInstance();
+ // aptxTree = foresterClustering.execute(distances);
+
- NeighborJoiningF foresterClustering = NeighborJoiningF
- .createInstance();
- aptxTree = foresterClustering.execute(distances);
treeTitle = generateTreeName();
aptxTree.setName(treeTitle);