Class NonPersistentNonOrderedCoexpLink

    • Constructor Detail

      • NonPersistentNonOrderedCoexpLink

        public NonPersistentNonOrderedCoexpLink​(Gene g1,
                                                Gene g2,
                                                boolean b)
      • NonPersistentNonOrderedCoexpLink

        public NonPersistentNonOrderedCoexpLink​(Long g1,
                                                Long g2,
                                                boolean b)
      • NonPersistentNonOrderedCoexpLink

        public NonPersistentNonOrderedCoexpLink​(Gene2GeneCoexpression link)
    • Method Detail

      • getFirstGene

        public Long getFirstGene()
        Returns:
        The first gene for the underlying link; this is always the lower ID.
      • getLink

        public Gene2GeneCoexpression getLink()
        Returns:
        The underlying link (may be null depending on how this was constructed)
      • getSecondGene

        public Long getSecondGene()
        Returns:
        The second gene for the underlying link; this is always the higher ID - not necesssarily the secondGene
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isPositiveCorrelation

        public boolean isPositiveCorrelation()