Skip to main content
. 2018 Aug 29;9(9):435. doi: 10.3390/genes9090435
Algorithm 1: FDHE-IW
Inputs: D (s1, s2, , sN, C)—the given data set with N + 1 columns; si denotes the values of the ith
SNP locus for all samples.
T—the candidate size; θ—the threshold of the G-test p-value; k—the number of SNPs in a k-way
SNP combination; and K—the number to find the SNP combinations based on a seed SNP.
Outputs: SNP combinations (SC)—the k-way SNP combinations that are associated with disease status.
  • (1)

    Initialize: S0={ s1, s2,,sN}, SC=,k=0,F=S0

  • (2)

    Calculate the SU for each SNP.

    For i = 1 to N do

      Calculate SU(si,C),siS0

      W(si)1

    End For

  • (3) 

    Search a k-way SNP combination based on the interaction weight.

    • (3.1) 

      Select a SNP locus with a maximumSU×Wvalue.

      saargmaxsiF SU(si,C)×W(si),i=1,2,,N

    • (3.2) 

      Search SNP combination based on interaction weight

      m = 1

      While m < K || // to find K k-way SNP combinations based on sa

         S  

         SS{sa}FF\{sa}W(sa)0

          While |S| < k // |S| is the SNPs number in S.

           For i = 1 to |F| do // |F| denotes the SNPs number in F.

              IW (si) IWF(si,sa; C), siF // Calculate interaction weight between si and Fa:

              W(si)W(si)×IW(si),siF // Update the weight coefficient.

              // calculate relevance between si and phenotype (C)

              R(si,C)  W(si)×(1+SU(si, C)), I=1,2,,|S|

           End For

      saargmaxR(s,C)sF // Select out the SNP sa that has maximum relevance with C in F.

           SS{sa)

           FF\sa // remove SNP sa from F.

         End While

         SCSC{S} // Store the found SNP combination S into SC as a candidate solution.

         m = m + 1

        End While

  • (4) 

    If the size of SC is less than T

    go to step (3) to find new k-way SNP combination that are associated with disease status.

    EndIf

  • (5) 

    Statistical test

    Perform G-test statistic for each SNP combination in SC.

    Output the k-way SNP combinations with a p-value < θ