Class DiffExprGeneSearchResult

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    MissingResult, NonRetainedResult

    public class DiffExprGeneSearchResult
    extends Object
    implements Serializable
    Value object for differential expression result for one result - corresponds to the DifferentialExpressionAnalysisResults for one gene in one ResultSet (combined for multiple probes), but represents only the "selected" analysisResult. It can represent a 'dummy' (missing value) if the resultSetId and the geneId are populated.
    Author:
    anton, paul
    See Also:
    Serialized Form
    • Constructor Detail

      • DiffExprGeneSearchResult

        public DiffExprGeneSearchResult​(Long resultSetId,
                                        Long geneId)
    • Method Detail

      • getCorrectedPvalue

        public Double getCorrectedPvalue()
      • setCorrectedPvalue

        public void setCorrectedPvalue​(Double correctedPvalue)
        Parameters:
        correctedPvalue - the corrected pvalue (i.e., a q-value)
      • getGeneId

        public long getGeneId()
      • setGeneId

        public void setGeneId​(Long geneId)
      • getNumberOfProbes

        public int getNumberOfProbes()
      • setNumberOfProbes

        public void setNumberOfProbes​(int numberOfProbes)
      • getNumberOfProbesDiffExpressed

        public int getNumberOfProbesDiffExpressed()
      • setNumberOfProbesDiffExpressed

        public void setNumberOfProbesDiffExpressed​(int numberOfProbesDiffExpressed)
      • getPvalue

        public Double getPvalue()
      • setPvalue

        public void setPvalue​(Double pvalue)
        Parameters:
        pvalue - the uncorrected pvalue.
      • getResultId

        public Long getResultId()
        Returns:
        the id of the underlying DifferentialExpressionAnalysisResult. This will be null if there is no result for the resultSet and geneId.
      • setResultId

        public void setResultId​(long resultId)
        Not to be confused with resultSetId.
        Parameters:
        resultId - the ID of the specific result stored.
      • getResultSetId

        public Long getResultSetId()
      • setResultSetId

        public void setResultSetId​(Long resultSetId)
      • getScore

        public Double getScore()
      • setScore

        public void setScore​(Double score)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object