原来这个参数默认值是30 , 当标签的长度大于30个字符就会被折叠,用多行来展示 。既然问题找到了,我们就来调节一下这个参数 , 把他设置成100,让我们的标签可以一行展示 。
是不是还是原来的配方,还是熟悉的味道
同样的柱形图,我们也能让他恢复原来的容貌 。
关于如何使用R做GO和KEGG富集分析 , 可参考下文
GO和KEGG富集分析视频讲解
《R语言实战》自学笔记66-气泡图数据准备
气泡图(bubble plot):在二维散点图的基础上,用点的大小来代表第三个变量的值 。
symbols()函数来创建气泡图 。该函数可以在指定的(x, y)坐标上绘制圆圈图、方形图、星形图、温度计图和箱线图 。
symbols(x, y, circle=radius)
其中x、y和radius是需要设定的向量,分别表示x、y坐标和圆圈半径 。
你可能想用面积而不是半径来表示第三个变量,那么按照圆圈半径的公式(r = /πA )变换即可:
symbols(x, y, circle=sqrt(z/pi))
一般来说,统计人员使用R时都倾向于避免用气泡图,原因和避免使用饼图一样:相比对长度的判断,人们对体积/面积的判断通常更困难 。
参考资料:
ggplot2绘制Pathway富集分析气泡图Term_NameGeneHitsInSelectedSetAllGenesInSelectedSetGeneHitsInBackgroundAllGenesInBackgroundp-value enrichFactorGeneListInSelectedSetsQvalue
00941 Flavonoid biosynthesis14492 4138573.30E-042.676878842 "[FvH4_2g26480, FvH4_2g05780, FvH4_4g23870, FvH4_5g35170, FvH4_5g14010, FvH4_7g01160, FvH4_3g44420, FvH4_7g20870, FvH4_4g06180, FvH4_5g01170, FvH4_6g28410, FvH4_3g40570, FvH4_5g22390, FvH4_7g25890]"0.04909626
00360 Phenylalanine metabolism14492 4638570.001221701 2.38591375"[FvH4_2g05780, FvH4_4g23870, FvH4_5g35170, FvH4_6g16060, FvH4_4g06180, FvH4_4g25490, FvH4_6g16460, FvH4_6g27650, FvH4_4g09340, FvH4_7g19130, FvH4_3g40570, FvH4_6g26610, FvH4_6g27940, FvH4_6g26600]"0.091016736
00945 Stilbenoid, diarylheptanoid and gingerol biosynthesis 9492 3138570.012547314 2.275963808 "[FvH4_2g05780, FvH4_4g23870, FvH4_5g35170, FvH4_6g28410, FvH4_3g40570, FvH4_5g22390, FvH4_6g26800, FvH4_3g44420, FvH4_4g06180]"0.467387431
00270 Cysteine and methionine metabolism17492 9438570.083418875 1.417769417 "[FvH4_4g21340, FvH4_1g10540, FvH4_4g01140, FvH4_2g02530, FvH4_6g27650, FvH4_1g18690, FvH4_5g05120, FvH4_3g14020, FvH4_6g26610, FvH4_4g13980, FvH4_1g18490, FvH4_6g26600, FvH4_1g21920, FvH4_1g26460, FvH4_2g05040, FvH4_2g41260, FvH4_4g13280]"0.654179598
04120 Ubiquitin mediated proteolysis23492 126 38570.045292621.431007227 "[FvH4_7g29370, FvH4_6g11010, FvH4_6g38720, FvH4_5g03910, FvH4_3g09200, FvH4_6g17370, FvH4_3g39370, FvH4_4g01260, FvH4_2g39250, FvH4_5g30320, FvH4_3g00910, FvH4_5g29350, FvH4_6g35920, FvH4_5g33030, FvH4_1g05910, FvH4_5g22570, FvH4_4g14790, FvH4_1g25030, FvH4_4g17530, FvH4_7g16630, FvH4_6g09540, FvH4_6g10930, FvH4_3g18500]"0.674860033
00260 Glycine, serine and threonine metabolism11492 4938570.04081071.759872242 "[FvH4_1g08890, FvH4_7g07540, FvH4_5g38450, FvH4_2g05310, FvH4_2g22570, FvH4_1g21920, FvH4_2g16830, FvH4_2g36660, FvH4_1g19090, FvH4_4g13290, FvH4_4g25490]"0.675643816
00670 One carbon pool by folate 5492 1838570.069014744 2.177619693 "[FvH4_7g07540, FvH4_5g38450, FvH4_1g00040, FvH4_1g19090, FvH4_4g13290]"0.685546458
03015 mRNA surveillance pathway 20492 114 38570.082844862 1.375338753 "[FvH4_7g29390, FvH4_6g17300, FvH4_5g13570, FvH4_3g29340, FvH4_4g03530, FvH4_2g38640, FvH4_1g18700, FvH4_1g18000, FvH4_2g34040, FvH4_5g33710, FvH4_6g06810, FvH4_5g25490, FvH4_5g03260, FvH4_2g15670, FvH4_4g07000, FvH4_4g36800, FvH4_5g25550, FvH4_2g06580, FvH4_5g05510, FvH4_6g09230]"0.685771358
00603 Glycosphingolipid biosynthesis - globo and isoglobo series3492 938570.096237762 2.613143631 "[FvH4_7g21240, FvH4_6g11740, FvH4_3g04760]"0.71697133
00400 Phenylalanine, tyrosine and tryptophan biosynthesis9492 3738570.038722924 1.906888596 "[FvH4_7g11530, FvH4_6g27650, FvH4_6g26610, FvH4_4g21980, FvH4_6g26600, FvH4_2g22570, FvH4_6g47770, FvH4_5g36810, FvH4_1g20450]"0.721214462
推荐阅读
- e480怎么加双硬盘,e480加装硬盘
- 移动电商如何创新,移动电子商务创新创业策划
- 鸿蒙系统如何安装库乐队,鸿蒙音乐插件
- 公众号怎么发问卷星,微信公众号如何发布问卷调查
- vb.net立即窗口 vb立即窗口快捷键
- 三星电视机声音怎么放大,三星电视怎么调大声
- java创建字体设置代码,java创建字体设置代码是什么
- java九宫格源代码,九宫格程序代码
- vb.net注册登录 vb注册和登录代码