Research Article

Improved Candidate Drug Mining for Alzheimer’s Disease

Algorithm 2

Pseudocode for a priori algorithm for the data mining in PharmGKB, where is a support threshold, is the frequent gene subsets that satisfy the support threshold, is the number of current iterations, and is the candidate set, and count gene accesses a field of the data structure that represents gene candidate set.
(1)Apriori(PharmGKB, )
(2)  (frequent genes in drug class for Alzheimer’s disease)
(3)
(4)while
(5)
(6) for each drug class PharmGKB
(7)  
(8)  for each candidate gene
(9)   count gene  count gene  + 1
(10)   end for
(11) end for
(12)
(13)
(14)end while
(15)return