The pharmacology network explained target genes related to the identified metabolites to possess 672 interactions between the 18 identified metabolites and 379 genes, among which PTGS2, MMP2 and PTGS1 were the top annotated genes related to gastric ulcer. Here, PTGS1 is linked to gastric ulcer.