基于Python 语言分析《外科正宗》治疗肛肠疾病主治方用药规律
DOI:
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

R289.9

基金项目:


Analysis of the Medication Rules of Principal Prescriptions for Anorectal Diseases in Wai Ke Zheng Zong Based on Python
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    目的:基于Python语言分析《外科正宗》治疗肛肠疾病主治方的用药规律。方法:筛选《外科正宗》中所有与肛肠疾病相关的方剂,提取方剂组成,使用Python编译器PyCharm Community Edition 2021.2.3进行数据分析。对主治方中涉及药物进行中药频次、性味、归经统计,并进行Spearman相关性分析、关联规则分析、系统聚类分析,将结果进行可视化。结果:《外科正宗》中治疗肛肠疾病的方剂共有52首,涉及药物117味,药物使用总频次430次,使用频次排前15位从高到低依次为当归、甘草、川芎、黄芪、白术、人参、黄连、白芍、大黄、黄芩、茯苓、熟地黄、陈皮、连翘、生地黄;药味以苦、甘、辛味药为主;药性多为温、寒;归经分布多见脾经、肝经、心经;药物功效以补益、清热、活血为主。经Spearman相关性分析获得,人参-白术等10组核心药对;经关联规则分析获得,川芎-甘草-当归等20条核心中药三项关联;经系统聚类分析获得,除单味药外,核心聚类为3类,最终整合为2类,即健脾益气补血类、清热泻火祛湿类。结论:《外科正宗》治疗肛肠疾病形成以“消托补”三法为治则,以“健脾益气补血”和“清热泻火祛湿”的标本并重的治法体系,其辨治核心为“脾胃为本,气血同调”。

    Abstract:

    Abstract:Objective:To analyze the medication rules of principal prescriptions for anorectal diseases recorded in Wai Ke Zheng Zong( Orthodox Lineage of External Medicine) using Python. Methods:All formulas related to anorectal diseases were screened from Wai Ke Zheng Zong,and the constituent herbs were extracted. Data analysis was performed using PyCharm Community Edition 2021.2.3. Frequency statistics of herbs, properties and flavors, and meridian tropisms were calculated. Spearman correlation analysis, association rule analysis, and hierarchical cluster analysis were conducted, and the results were visualized. Results: A total of 52 prescriptions for anorectal diseases were identified, involving 117 herbal drugs with a cumulative frequency of 430 times. The top 15 most frequently used herbs in descending order were Angelica sinensis, Glycyrrhizae Radix, Chuanxiong Rhizoma, Astragali Radix, Atractylodis Macrocephalae Rhizoma, Ginseng Radix, Coptidis Rhizoma, Paeoniae Radix Alba, Rhei Radix et Rhizoma, Scutellariae Radix, Poria, Rehmanniae Radix Praeparata, Citri Reticulatae Pericarpium, Forsythiae Fructus, and Rehmanniae Radix. The predominant herb flavors were bitter, sweet, and acrid; the properties were mainly warm and cold;meridian distribution was primarily spleen,liver,and heart meridians;main efficacies were tonifying, heat-clearing, and blood-activating. Spearman correlation analysis yielded 10 core herb pairs such as Ginseng Radix-Atractylodis Macrocephalae Rhizoma. Association rule analysis generated 20 three-item association rules, e.g., Chuanxiong Rhizoma-Glycyrrhizae Radix-Angelica sinensis. Systematic cluster analysis produced three initial clusters which were integrated into two categories, namely, spleen-strengthening, qi-tonifying, and bloodnourishing herbs, and heat-clearing, fire-purging, and dampness-dispelling herbs. Conclusion: The treatment of anorectal diseases in Wai Ke Zheng Zong is based on the three therapeutic principles of elimination, support, and tonification,with an integrated system emphasizing both "spleen-strengthening,qi-tonifying,and blood-nourishing" and "heat-clearing, fire-purging, and dampness-dispelling" to address root and branch simultaneously. The core concept of differentiation and treatment is "taking the spleen-stomach as the foundation,and regulating qi and blood in concert."

    参考文献
    相似文献
    引证文献
引用本文

吴雨凝,李丹清,谢蕊君,李洪杰,罗维民,孙锋.基于Python 语言分析《外科正宗》治疗肛肠疾病主治方用药规律[J].新中医,2026,58(18):236-242

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-09-29
  • 出版日期:
文章二维码