where w q,i represents the interaction confidence score between C q and C i . T is the transpose operator, and w q,i~0 if no interaction exists between them. Here, we did not consider the selfinteraction, therefore w q,i~0 when q~i. Accordingly, the likelihood that the query compound C q is involved in the j-th metabolic pathway class can be formulated by the following score