Class GeneLengthCorrectionCoefficient

  • All Implemented Interfaces:
    org.intermine.web.logic.widget.CorrectionCoefficient

    public class GeneLengthCorrectionCoefficient
    extends java.lang.Object
    implements org.intermine.web.logic.widget.CorrectionCoefficient
    Implementation of the gene length coefficient
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneLengthCorrectionCoefficient​(org.intermine.web.logic.widget.config.WidgetConfig config, org.intermine.objectstore.ObjectStore os, org.intermine.api.profile.InterMineBag bag, java.lang.String ids)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(java.util.Map<java.lang.String,​java.math.BigDecimal> pValuesPerTerm, org.intermine.web.logic.widget.PopulationInfo population, java.util.Map<java.lang.String,​org.intermine.web.logic.widget.PopulationInfo> annotatedPopulationInfo, java.lang.Double maxValue)  
      java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> getOutputInfo​(java.lang.String geneLengthCorrectionInput)
      boolean isApplicable()
      boolean isSelected​(java.lang.String correctionCoefficientInput)
      void updatePopulationQuery​(org.intermine.objectstore.query.Query q, org.intermine.objectstore.query.Query subQ, org.intermine.objectstore.query.QueryField qfCorrection)
      org.intermine.objectstore.query.QueryField updateQueryWithCorrectionCoefficient​(org.intermine.objectstore.query.Query query, org.intermine.objectstore.query.QueryClass qc)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneLengthCorrectionCoefficient

        public GeneLengthCorrectionCoefficient​(org.intermine.web.logic.widget.config.WidgetConfig config,
                                               org.intermine.objectstore.ObjectStore os,
                                               org.intermine.api.profile.InterMineBag bag,
                                               java.lang.String ids)
        Parameters:
        config - config for this widget
        os - database
        bag - list of genes being operated on
        ids - intermine IDs, required if bag is NULL
    • Method Detail

      • isSelected

        public boolean isSelected​(java.lang.String correctionCoefficientInput)
        Specified by:
        isSelected in interface org.intermine.web.logic.widget.CorrectionCoefficient
      • isApplicable

        public boolean isApplicable()
        Specified by:
        isApplicable in interface org.intermine.web.logic.widget.CorrectionCoefficient
      • updatePopulationQuery

        public void updatePopulationQuery​(org.intermine.objectstore.query.Query q,
                                          org.intermine.objectstore.query.Query subQ,
                                          org.intermine.objectstore.query.QueryField qfCorrection)
        Specified by:
        updatePopulationQuery in interface org.intermine.web.logic.widget.CorrectionCoefficient
      • apply

        public void apply​(java.util.Map<java.lang.String,​java.math.BigDecimal> pValuesPerTerm,
                          org.intermine.web.logic.widget.PopulationInfo population,
                          java.util.Map<java.lang.String,​org.intermine.web.logic.widget.PopulationInfo> annotatedPopulationInfo,
                          java.lang.Double maxValue)
        Specified by:
        apply in interface org.intermine.web.logic.widget.CorrectionCoefficient
      • getOutputInfo

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Object>> getOutputInfo​(java.lang.String geneLengthCorrectionInput)
        Specified by:
        getOutputInfo in interface org.intermine.web.logic.widget.CorrectionCoefficient
      • updateQueryWithCorrectionCoefficient

        public org.intermine.objectstore.query.QueryField updateQueryWithCorrectionCoefficient​(org.intermine.objectstore.query.Query query,
                                                                                               org.intermine.objectstore.query.QueryClass qc)
        Specified by:
        updateQueryWithCorrectionCoefficient in interface org.intermine.web.logic.widget.CorrectionCoefficient