Skip to main content
. 2021 Dec 8;13(12):2117. doi: 10.3390/pharmaceutics13122117
Algorithm 2 Generate the list of drug repurposing hints by clustering the DDSN G with the tuned modularity resolution.
  • Input: Drug–drug similarity network G=VD,E based on drug–gene interaction data from DrugBank 5.1.8, λmax, and the ATC codes for drugs in DrugBank 5.1.8.

  • Output: The repositioning hints N as a list of drug–predicted property pairs, Dj,A1Ci.

  • 1:

    CClusteringG,λmax

  • 2:

    N

  • 3:

    for allCiCdo

  • 4:

        PiA1Ci

  • 5:

        for all DjCi do

  • 6:

            if PiA1Dj then

  • 7:

               NNDj,Pi

  • 8:

            end if

  • 9:

        end for

  • 10:

    end for

  • 11:

    Return the list of drug repositionings N as drug–predicted property pairs