By introducing core clusters for pathway analysis, it was found that the four Chinese medicinals played a therapeutic role in the ErbB signal pathway, cancer pathway, EGFR tyrosine kinase inhibitor resistance, and insulin signal pathway to treat insomnia. This evidence concerns the gene EGFR and cancer.