Package org.cipres.treebase.domain.matrix

Examples of org.cipres.treebase.domain.matrix.CodonPositionSet


    for (int i = 0; i < pSetVector.size(); i++) {
      SpecsSet ss = (SpecsSet) pSetVector.elementAt(i);
      if (ss instanceof CodonPositionsSet) {
        CodonPositionsSet cpSet = (CodonPositionsSet) ss;
        CodonPositionSet tbCodonPosSet = createCodonPosSet(pMesqMatrix, cpSet, pMatrix);

        pMatrix.getCodonPosSets().add(tbCodonPosSet);
      }
    }

    CodonPositionsSet defaultCodonPosSet = (CodonPositionsSet) pMesqMatrix
      .getCurrentSpecsSet(CodonPositionsSet.class);
    if (defaultCodonPosSet != null) {
      CodonPositionSet tbCodonPosSet = createCodonPosSet(
        pMesqMatrix,
        defaultCodonPosSet,
        pMatrix);

      pMatrix.setDefaultCodonPosSet(tbCodonPosSet);
View Full Code Here


    CharacterMatrix pMatrix) {

    // See ManageCodonPositionset.nexusStringForSpecsSet
    // Also see DNAData.getCodonsAsNexusCharSets

    CodonPositionSet tbCodonSet = new CodonPositionSet();
    tbCodonSet.setTitle(pCodonPosSet.getName());

    int numChars = pMesqMatrix.getNumChars();

    // create one collection of columnRange for each columnRangeConvertHelper
    decodeNumSpecsSetForCodonPosSet(tbCodonSet, pCodonPosSet, numChars);
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.matrix.CodonPositionSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.