Examples of BoundaryType


Examples of org.ggf.schemas.jsdl.x2005.x11.jsdl.BoundaryType

    }
    else
    {
      if(!lower.isNaN())
      {
        BoundaryType lowerBound = jsdlType.isSetLowerBoundedRange() ? jsdlType.getLowerBoundedRange() : jsdlType.addNewLowerBoundedRange();
        lowerBound.setDoubleValue(lower);
        lowerBound.setExclusiveBound(!u6Type.isIncludeLowerBound());
      }

      if(!upper.isNaN())
      {
        BoundaryType upperBound = jsdlType.isSetUpperBoundedRange() ? jsdlType.getUpperBoundedRange() : jsdlType.addNewUpperBoundedRange();
        upperBound.setDoubleValue(upper);
        upperBound.setExclusiveBound(!u6Type.isIncludeUpperBound());
      }
    }
  }
View Full Code Here

Examples of org.ggf.schemas.jsdl.x2005.x11.jsdl.BoundaryType

    }
    else
    {
      if(!lower.isNaN())
      {
        BoundaryType lowerBound = jsdlType.isSetLowerBoundedRange() ? jsdlType.getLowerBoundedRange() : jsdlType.addNewLowerBoundedRange();
        lowerBound.setDoubleValue(lower);
        lowerBound.setExclusiveBound(!u6Type.isIncludeLowerBound());
      }

      if(!upper.isNaN())
      {
        BoundaryType upperBound = jsdlType.isSetUpperBoundedRange() ? jsdlType.getUpperBoundedRange() : jsdlType.addNewUpperBoundedRange();
        upperBound.setDoubleValue(upper);
        upperBound.setExclusiveBound(!u6Type.isIncludeUpperBound());
      }
    }
  }
View Full Code Here

Examples of org.ggf.schemas.jsdl.x2005.x11.jsdl.BoundaryType

    }
    else
    {
      if(!lower.isNaN())
      {
        BoundaryType lowerBound = jsdlType.isSetLowerBoundedRange() ? jsdlType.getLowerBoundedRange() : jsdlType.addNewLowerBoundedRange();
        lowerBound.setDoubleValue(lower);
        lowerBound.setExclusiveBound(!u6Type.isIncludeLowerBound());
      }

      if(!upper.isNaN())
      {
        BoundaryType upperBound = jsdlType.isSetUpperBoundedRange() ? jsdlType.getUpperBoundedRange() : jsdlType.addNewUpperBoundedRange();
        upperBound.setDoubleValue(upper);
        upperBound.setExclusiveBound(!u6Type.isIncludeUpperBound());
      }
    }
  }
View Full Code Here

Examples of org.ogf.schemas.jsdl.BoundaryType

            if (!epsilon.isNaN() && epsilon != 0) {
                exactType.setEpsilon(epsilon);
            }
        } else {
            if (!lower.isNaN()) {
                BoundaryType lowerBound = jsdlType.isSetLowerBoundedRange() ? jsdlType.getLowerBoundedRange()
                        : jsdlType.addNewLowerBoundedRange();
                lowerBound.setDoubleValue(lower);
                lowerBound.setExclusiveBound(!u6Type.isIncludeLowerBound());
            }

            if (!upper.isNaN()) {
                BoundaryType upperBound = jsdlType.isSetUpperBoundedRange() ? jsdlType.getUpperBoundedRange()
                        : jsdlType.addNewUpperBoundedRange();
                upperBound.setDoubleValue(upper);
                upperBound.setExclusiveBound(!u6Type.isIncludeUpperBound());
            }
        }
    }
View Full Code Here

Examples of ru.autosome.commons.model.BoundaryType

    // Wordwise background means that we calculate number of words instead of probabilities, this is a default mode
    // If one need to work with certain nucleotide background probabilities he should use:
    // BackgroundModel background = new Background(new double[]{pA, pC, pG, pT}); where {pA,... pT} are probabilities of respective nucleotides
    BackgroundModel background = new WordwiseBackground();
    // A actual pvalue will be less than requested. Not very important setting in this task
    BoundaryType pvalue_boundary = BoundaryType.LOWER;
    // Setting max_hash_size allows one to restrict memory exhausting during Pvalue calculation (using APE algorithm, not binary search)
    // Reasonable value is about 10 millions elements. But actually only specially constructed matrices can reach such high hash sizes.
    // So in standalone calculation we use null (not to check hash size) and in web version we use 1e7
    Integer max_hash_size = null;
View Full Code Here

Examples of ru.autosome.commons.model.BoundaryType

  public static void main(String[] args) {
    PWM pwm = new PWMImporter().loadMotif("test_data/pwm/KLF4_f2.pwm");
    BackgroundModel background = new WordwiseBackground();
    Discretizer discretizer = new Discretizer(10000.0);
    BoundaryType pvalue_boundary = BoundaryType.LOWER;
    Integer max_hash_size = null;
    double pvalue = 0.0005;
    double[] pvalues = {0.0001, 0.0005, 0.001};

    CanFindThreshold calculator = new FindThresholdAPE<PWM, BackgroundModel>(pwm, background, discretizer, max_hash_size);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.