当前位置:首页>python>期刊图片复现|Python绘制多组学验证环形热图

期刊图片复现|Python绘制多组学验证环形热图

  • 2026-08-18 23:11:46
期刊图片复现|Python绘制多组学验证环形热图

代码绘制成果展示

论文:Interpretable deep learning translation of GWAS and multi-omics  findings to identify pathobiology and drug repurposing in  Alzheimer’s disease

论文原图

Figure 5. Multi-omics observations of 156 prioritized AD-risk genes (alzRGs) by NETTAG Summary of multi-omics validations for all 156 predicted alzRGs (Table S3 and S4). The genes are sorted in predicted score decreasing order (clockwise direction). We have collected seven types of evidence, including drug target, differentially expressed genes (DEG) by microarray studies, DEG by bulk RNA-seq studies, DEG in disease-associated microglia (DAM), DEG in disease-associated astrocyte (DAA), DEG by proteome studies, and literature evidence. There are 126 predicted alzRGs that could be proved as associated with AD with at least one type of evidence.

通过NETTAG方法对156个优先筛选的阿尔茨海默病风险基因(alzRGs)进行的多组学观察该图总结了全部156个预测的alzRGs的多组学验证信息。这些基因按照预测得分的降序(顺时针方向)排列。收集了七种类型的证据,包括:药物靶点、微阵列研究发现的差异表达基因(DEG)、批量RNA测序研究发现的差异表达基因、疾病相关小胶质细胞(DAM)中的差异表达基因、疾病相关星形胶质细胞(DAA)中的差异表达基因、蛋白质组学研究发现的差异表达基因,以及文献证据。结果显示,有126个预测的alzRGs可以通过至少一种证据证明与阿尔茨海默病(AD)相关。

注意:此图只是实现了跟原文的呈现结果的一致性,模拟数据都是随机生成的,使用的时候请阅读原文,后面还会发我自己魔改的,想的是针对一组数据或者多组数据建立不同的模型来分析,看看前几个的影响重要性

仿图
多种配色

代码解释

第一部分

导入库与全局样式配置,是代码实现的基础同时也是绘图前的准备工作。
# =========================================================================================# ====================================== 1. 库的导入 =========================================# =========================================================================================import numpy as npimport matplotlib.pyplot as pltimport matplotlib.patches as mpatchesimport pandas as pdplt.rcParams['font.family'] = 'Times New Roman'import matplotlibmatplotlib.rcParams['pdf.fonttype'] = 42matplotlib.rcParams['ps.fonttype'] = 42

第二部分

设置颜色库
# =========================================================================================# ======================================2.颜色库设置=========================================# =========================================================================================COLOR_LIBRARY = {    1: {        'ring_colors': ['#8E44AD''#2980B9''#3498DB''#27AE60''#F1C40F''#E67E22''#E74C3C'],        'bar_color''#d3c0a3'    },}

第三部分

定义绘图函数,接受3个参数包括:基因/特征的名称、绘图的数据、颜色方案
# =========================================================================================# ======================================3.绘图函数=========================================# =========================================================================================def plot_multi_omics_circos(gene_names,                            heatmap_data,                            color_scheme_id=1):

第四部分

画布和参数设置
包括整个环形热图的层数、外圈标注的基因/特征名称、每一层热图的颜色、每一层的高度或者厚度、每一个特征在整个环图上面占据的区域大小、每一层环的起始半径、热图的起始角度和结束角度、正北方向开口区域的代销、每一个特征对应的角度
    #获取图层数和基因数    num_layers, num_genes = heatmap_data.shape    print(num_layers, num_genes)    # 创建画布    fig, ax = plt.subplots(figsize=(1616), subplot_kw=dict(projection='polar'))    selected_scheme = COLOR_LIBRARY[color_scheme_id]  #获取选定的配色方案    ring_colors = selected_scheme['ring_colors']  #提取环的颜色列表    bar_color = selected_scheme['bar_color']  #提取外部条的颜色    ring_thickness = 1.2  #定义单个环的厚度    radial_gap = 0.2  #环与环之间的径向间隔    #中心空白区域的半径    central_hole_radius = 7.0    # 计算每个环的半径,环厚度+间隔    step_with_gap = ring_thickness + radial_gap    #每个环的起始半径位置    ring_positions = np.arange(central_hole_radius, central_hole_radius + num_layers * step_with_gap, step_with_gap)    #定义顶部开口的大小,使其相当于3个基因特征所占的宽度    num_features_in_gap = 3    #计算圆环需要划分成多少个小区域    total_positions = num_genes + num_features_in_gap    #每个小区域平均占用的角度(弧度)    angular_width_per_position = 2 * np.pi / total_positions    #计算开口的总角度    gap_size_rad = num_features_in_gap * angular_width_per_position    #环形图的起始角度    start_angle = np.pi / 2 + gap_size_rad / 2    #环形图的结束角度    end_angle = start_angle + (2 * np.pi - gap_size_rad - 0.02)    #生成每个小区域的角度坐标    theta = np.linspace(start_angle, end_angle, num_genes)    width = angular_width_per_position * 0.8  # 计算每个小区域的角度宽度

第五部分

绘制每一层的热图
#绘制7层环状热图    for layer_idx in range(num_layers):  #遍历所有的数据层        for gene_idx in range(num_genes):  #遍历该层中的所有基因            #根据数值1或0确定色块的透明度            alpha_value = 1.0 if heatmap_data[layer_idx, gene_idx] == 1 else 0.2            #绘制色块            ax.bar(                x=theta[gene_idx],  #角度位置                height=ring_thickness,  #高度/厚度                width=width,  #宽度                bottom=ring_positions[layer_idx],  #起始半径                color=ring_colors[layer_idx],  #颜色                alpha=alpha_value,  #透明度                align='edge'  #从指定的theta角度开始绘制            )

第六部分

根据热图的绘制结果来绘制上最外圈的方块堆叠图
#绘制最外层的径向堆叠方块图    block_height = 0.5  #每个小方块的高度    block_spacing = 0.05  #小方块之间的垂直间隙    outer_bar_bottom_radius = ring_positions.max() + ring_thickness + 4  #计算最外圈堆叠图的起始半径            continue        #设置第一个方块的起始半径        current_bottom = outer_bar_bottom_radius        #根据总数,循环绘制相应数量的堆叠方块        for _ in range(num_blocks):            #绘制单个方块            ax.bar(                x=theta[gene_idx],  #方块的角度                height=block_height,  #高度                width=width * 0.7,  #角度宽度                bottom=current_bottom,  #起始半径                color=bar_color,  #颜色                align='edge'  #从指定的theta角度开始绘制            )            #更新下一个方块的起始半径位置,这样就可以实现堆叠的效果            current_bottom += (block_height + block_spacing)

第七部分

在热图外圈添加上放射状的基因/特征标注
#外围基因/特征标注的半径    label_radius = ring_positions.max() + ring_thickness + 0.5            rotation = angle_deg  #文本的旋转角度            ha = 'left'  #水平对齐方式        else:            rotation = angle_deg  #文本的旋转角度            ha = 'left'  #水平对齐方式        #添加基因/特征的名称标注        ax.text(            theta[i] + width / 2,  #角度位置            label_radius,  #半径            gene_names[i],  #内容,基因/特征的名称            rotation=rotation,  #文本的旋转角度            ha=ha,  #水平对齐方式            va='center',  #垂直对齐方式            fontsize=8,  #大小            rotation_mode='anchor'        )

第八部分

设置正北方向的开口区域的灰色背景和数值标注
#绘制虚线圈,分隔开主图与外围的堆叠图的区域    #虚线圈的半径    dashed_circle_radius = ring_positions.max() + ring_thickness + 3.8    #绘制带开口的虚线圈    ax.plot(np.linspace(start_angle, end_angle, 200),            [dashed_circle_radius] * 200,            color=bar_color,            linestyle='--',            lw=1,            zorder=2)    #定义开口处灰色背景条的中心角度    label_angle = np.pi / 2    #灰色背景的颜色    gap_gray_color = '#f0f0f0'    #灰色背景的高度    gray_bar_height = (ring_positions.max() + ring_thickness) - ring_positions.min()    #灰色背景的宽度    gray_bar_width = 1.5 * angular_width_per_position    ax.bar(        x=label_angle,  #背景条的中心角度        height=gray_bar_height,  #高度        width=gray_bar_width,  #宽度        bottom=ring_positions[0],  #起始半径        color=gap_gray_color,  #颜色        align='center',  #居中对齐        zorder=0,        edgecolor='white',  #边缘线颜色        linewidth=1  #边缘线宽度    )        ax.text(label_angle,                r,                str(i + 1),                ha='center',                va='center',                fontsize=12,                fontweight='bold',                color='#555555',                zorder=3)

第九部分

图面整理,去掉自带的网格线和刻度、标注等,添加上图例
#图面清理    ax.grid(False)  #去掉自带网格线    ax.set_yticklabels([])  #去掉自带半径的刻度标签    ax.set_xticklabels([])  #去掉自带角度的刻度标签    ax.spines['polar'].set_visible(False)  #去掉自带外围黑圈    max_stack_height = num_layers * (block_height + block_spacing)  #计算最外层堆叠的最大高度    max_radius = outer_bar_bottom_radius + max_stack_height  #计算图表所需的最大半径    ax.set_ylim(0, max_radius + 2)  # 设置半径的显示范围    #添加图例    #定义与图片匹配的图例标签    layer_labels = [        '1:Drug target',        '2:DEG by microarray',        '3:DEG by RNA-seq',        '4:DEG in DAM',        '5:DEG in DAA',        '6:DEG by proteome',        '7:Literature evidence'    ]  # 列表定义结束    #创建图例用的色块    ring_patches = [mpatches.Patch(color=ring_colors[i], label=layer_labels[i]) for i in range(num_layers)]    #为最外圈的堆叠图创建图例    bar_patch = mpatches.Patch(color=bar_color, label='Multi-omics evidence')    #将所有图例元素合并    all_patches = ring_patches + [bar_patch]    #添加图例    ax.legend(handles=all_patches,                       loc='center',                       frameon=False,                       fontsize=12                       )

第十部分

代码执行部分,主要就是修改这里,包括颜色方案、数据输入地址等
# =========================================================================================# ======================================4.程序执行部分=========================================# =========================================================================================if __name__ == '__main__':    select_color = 9 #要使用的配色方案编号    #文件路径    excel_filename = r'data.xlsx'    #读取    df= pd.read_excel(excel_filename, index_col=0)    #提取基因/特征名列表    gene_names_from_excel = df.index.tolist()    #提取热图数据,注意:绘图函数需要的数据形状是 (层数, 基因数),而Pandas读取的DataFrame是 (基因数, 层数),因此需要进行转置 (.T)    heatmap_data_from_excel = df.values.T    #调用函数进行绘图    plot_multi_omics_circos(        gene_names=gene_names_from_excel,  #传入基因名数据        heatmap_data=heatmap_data_from_excel,  #传入热图数据        color_scheme_id=select_color  #配色方案    )

如何应用?

1.选择配色方案:

select_color =20#要使用的配色方案编号

2.设置文件的路径:

excel_filename = r'E:\公众号素材\多重检验环形图\multi_omics_data.xlsx'

3.设置绘图结果的保存路径:

png_filename = fr'\{select_color}.png'pdf_filename = fr'\{select_color}.pdf'

推荐

期刊图片复现|Python绘制二维偏依赖PDP图
期刊复现|python绘制基于SHAP分析和GAM模型拟合的单特征依赖图
期刊图片复现|python绘制带有渐变颜色shap特征重要性组合图(条形图+蜂巢图)
期刊复现|用Python绘制SHAP特征重要性总览图、依赖图、双特征交互效应SHAP图,解锁XGBoost模型的终极奥秘
期刊图片复现|Python绘制shap重要性蜂巢图+单特征依赖图+交互效应强度气泡图+交互效应依赖图(回归+二分类+分类)

获取方式

需要的请后台私信我获取详细信息,注意只会分享练习数据和代码文件,不会提供答疑服务,代码文件中已经包含了每行代码的完整注释!!!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-08-21 22:50:54 HTTP/2.0 GET : https://f.mffb.com.cn/a/509145.html
  2. 运行时间 : 0.105754s [ 吞吐率:9.46req/s ] 内存消耗:5,251.79kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=fe81411eeb33497cfbe2c0464db2ad28
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000299s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000537s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000268s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000291s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000465s ]
  6. SELECT * FROM `set` [ RunTime:0.000207s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000698s ]
  8. SELECT * FROM `article` WHERE `id` = 509145 LIMIT 1 [ RunTime:0.000575s ]
  9. UPDATE `article` SET `lasttime` = 1787323854 WHERE `id` = 509145 [ RunTime:0.007744s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000239s ]
  11. SELECT * FROM `article` WHERE `id` < 509145 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000449s ]
  12. SELECT * FROM `article` WHERE `id` > 509145 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000395s ]
  13. SELECT * FROM `article` WHERE `id` < 509145 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000775s ]
  14. SELECT * FROM `article` WHERE `id` < 509145 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.015901s ]
  15. SELECT * FROM `article` WHERE `id` < 509145 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.010309s ]
0.107396s