首页 > 编程知识 正文

kegg富集分析p-value,kegg富集分析

时间:2023-05-06 12:32:12 阅读:20187 作者:4028

输入数据格式

Pathway=read.table(kegg.result )、header=T,sep='t ' ) PP=gg plot (pathway,AES ) richfactor, pathway richFactor是丰富的基因数除以背景的基因数#改变点的大小PPgeom_point(AES(size=r0VSR3) )点的大小pbuble=PP geom log10(qvalue ) )显著的显示颜色(自定义渐变颜色pbubblescale_colour_gradient ) low='green ',high='red'(#pathway富集散点图high='red ' ) labs (color=expror ) )的x='Rich factor ',y='Pathway name ', title=' top 20 ofpathwayenrichment ' #图像样式(主题)背景颜色移除pr theme_bw ) #网格线移除p_remove_grid-prtheme ) panel.grid 网格线颜色panel.grid=element _ line (color=' grey ' )必须首先安装GGplot2library () GGplot2library () 读取t文件,我的文本文件是桌面pdf (file=' c :/users/yueyao height=10 ) #生成输出文件,双引号中包含路径和文件名可以设置桌面/pathway _ enrichment.png ',width=800用于绘制x$Pathway ()的两列数据map=pgeom_point ) AES (size=x $ colour=x$Qvalue ) ) theme ) axis.text=element axis.text.y=element _ text (size=14 )、axis.text.x=elelent panel.background=emend panel.grid=element _ line (color=' grey )、Panel.border=element_rect ) fill=' trant axis.title=element _ text (size=16 ) ) labs ) color='qvalue ',size='Gene number ',x='Rich factor ',x=

转载于:https://www.cn blogs.com/rais ok/p/11014006.html

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。