{"id":29995,"date":"2024-02-27T17:51:22","date_gmt":"2024-02-27T09:51:22","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=29995"},"modified":"2024-02-27T17:51:23","modified_gmt":"2024-02-27T09:51:23","slug":"%e6%8e%8c%e6%8f%a1ggplot2%ef%bc%8c%e8%bd%bb%e6%9d%be%e7%bb%98%e5%88%b6%e5%9f%ba%e5%9b%a0%e5%8c%ba%e9%97%b4%e9%95%bf%e5%ba%a6%e5%9b%be%ef%bc%81-r%e8%af%ad%e8%a8%80%e5%ae%9e%e6%88%98","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=29995","title":{"rendered":"\u638c\u63e1ggplot2\uff0c\u8f7b\u677e\u7ed8\u5236\u57fa\u56e0\u533a\u95f4\u957f\u5ea6\u56fe\uff01\u2014\u2014R\u8bed\u8a00\u5b9e\u6218"},"content":{"rendered":"<p><strong>\u638c\u63e1ggplot2\uff0c\u8f7b\u677e\u7ed8\u5236\u57fa\u56e0\u533a\u95f4\u957f\u5ea6\u56fe\uff01\u2014\u2014R\u8bed\u8a00\u5b9e\u6218<\/strong><\/p>\n<p>\u200b \u76f8\u4fe1\u5927\u5bb6\u90fd\u5bf9R\u8bed\u8a00\u4e2d\u7684ggplot2\u5305\u6709\u6240\u4e86\u89e3\uff0c\u90a3\u4e48\u4f60\u4eec\u77e5\u9053\u600e\u4e48\u901a\u8fc7ggplot2\u7ed8\u5236\u57fa\u56e0\u7ec4\u7684\u5404\u67d3\u8272\u4f53\u4e0a\u7684\u533a\u95f4\u7c7b\u578b\u5206\u5e03\u56fe\u561b\uff1f\u4eca\u5929\u5c0f\u679c\u5c31\u6765\u7ed9\u5927\u5bb6\u6f14\u793a\u4e00\u4e0b\uff01<\/p>\n<p><strong>\u6570\u636e\u96c6\u51c6\u5907<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"712\" class=\"wp-image-29996\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-1.png?resize=640%2C712\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-1.png?w=764 764w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-1.png?resize=270%2C300 270w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-1.png?resize=600%2C668 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/> \u200b \u5728\u7ed8\u5236\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u8981\u51c6\u5907\u8981\u5bfc\u5165\u7684\u6570\u636e\u96c6\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u60c5\u51b5\u5c06\u5404\u67d3\u8272\u4f53\u4e0a\u8fdb\u884c\u201c\u5206\u533a\u201d\uff0c\u5e76\u6c47\u603b\u6210\u4e00\u4e2atable\u6587\u4ef6\uff0c\u6211\u4eec\u4e00\u8d77\u6765\u770b\u770b\u5c0f\u679c\u51c6\u5907\u7684\u6570\u636e\u6587\u4ef6\u5427\uff01<\/p>\n<p>\u5728\u8fd9\u4e2a\u6570\u636e\u96c6\u4e2d\uff0c\u4ece\u5de6\u5411\u53f3\u5206\u522b\u4ee3\u8868\u67d3\u8272\u4f53\u7f16\u53f7\u3001\u533a\u57df\u8d77\u70b9\u3001\u533a\u57df\u7ec8\u70b9\u3001\u67d3\u8272\u4f53\u540d\u79f0\u3001\u533a\u57df\u7c7b\u578b\u3001\u533a\u57df\u957f\u5ea6\u3001\u533a\u57df\u53f7\u3002\u600e\u4e48\u6837\uff0c\u4f60\u770b\u61c2\u4e86\u561b\uff1f<\/p>\n<p><strong>\u5bfc\u5165\u6570\u636e\u96c6\u4ee5\u53ca\u6570\u636e\u5904\u7406<\/strong><\/p>\n<p>\u9996\u5148\uff0c\u8ba9\u6211\u4eec\u770b\u4e00\u4e0b\u8fd9\u6bb5\u4ee3\u7801\u7684\u4f5c\u7528\u3002\u8fd9\u6bb5\u4ee3\u7801\u53ef\u4ee5\u8bfb\u53d6\u4e00\u4e2a\u540d\u4e3a&#8221;newGeneArea-15.txt&#8221;\u7684\u6570\u636e\u6587\u4ef6\uff0c\u5e76\u7ed8\u5236\u51fa\u67f1\u72b6\u56fe\uff0c\u5176\u4e2d\u6bcf\u4e2a\u67f1\u5b50\u4ee3\u8868\u4e00\u6bb5\u57fa\u56e0\u533a\u57df\uff0c\u6a2a\u5750\u6807\u8868\u793a\u57fa\u56e0\u6240\u5728\u7684\u67d3\u8272\u4f53\u7f16\u53f7\uff0c\u7eb5\u5750\u6807\u8868\u793a\u57fa\u56e0\u533a\u57df\u7684\u957f\u5ea6\uff0c\u4e0d\u540c\u989c\u8272\u7684\u67f1\u5b50\u4ee3\u8868\u4e0d\u540c\u7684\u57fa\u56e0\u5206\u6bb5\u7c7b\u522b\uff0c\u4f8b\u5982\u91cd\u8981\u6027\u9ad8\u3001\u4e2d\u3001\u4f4e\u7b49\u3002<\/p>\n<p>\u4e0b\u9762\uff0c\u6211\u5c06\u4e00\u6b65\u4e00\u6b65\u5730\u4e3a\u5927\u5bb6\u89e3\u91ca\u8fd9\u6bb5\u4ee3\u7801\u7684\u5b9e\u73b0\u8fc7\u7a0b\u3002<\/p>\n<ol>\n<li>\u5bfc\u5165ggplot2\u5305<\/li>\n<\/ol>\n<p>library(ggplot2)<\/p>\n<p>ggplot2\u662fR\u8bed\u8a00\u4e2d\u5e38\u7528\u7684\u53ef\u89c6\u5316\u5305\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f88\u591a\u79cd\u56fe\u5f62\u7c7b\u578b\u548c\u53c2\u6570\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u9ad8\u8d28\u91cf\u7684\u6570\u636e\u53ef\u89c6\u5316\u56fe\u5f62\u54e6\u3002<\/p>\n<ol>\n<li>\u8bfb\u53d6\u6570\u636e\u6587\u4ef6<\/li>\n<\/ol>\n<p>a&lt;-read.table(file = &#8220;newGeneArea-15.txt&#8221;, header=F,quote=&#8221;&#8221;,sep=&#8221;\\t&#8221;,stringsAsFactors=F)<\/p>\n<ol>\n<li>\u63d0\u53d6\u67d3\u8272\u4f53\u53f7\u5e76\u52a0\u4e0a&#8221;Chr&#8221;\u524d\u7f00<\/li>\n<\/ol>\n<p>g&lt;-sprintf(&#8220;%s&#8221;,unique(a[,4]))<\/p>\n<p>\u200b \u8fd9\u884c\u4ee3\u7801\u4f7f\u7528unique\u51fd\u6570\u9009\u51fa\u6570\u636e\u4e2d\u552f\u4e00\u7684\u67d3\u8272\u4f53\u53f7\uff0c\u7136\u540e\u4f7f\u7528sprintf\u51fd\u6570\u5c06\u5b83\u4eec\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u5e76\u5728\u6bcf\u4e2a\u5b57\u7b26\u4e32\u524d\u52a0\u4e0a&#8221;Chr&#8221;\u524d\u7f00\u3002\u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u540e\u7eed\u7528\u8fd9\u4e9b\u5b57\u7b26\u4e32\u6765\u6807\u8bb0x\u8f74\u3002<\/p>\n<ol>\n<li>\u8ba1\u7b97\u57fa\u56e0\u533a\u57df\u957f\u5ea6<\/li>\n<\/ol>\n<p>a[,6]&lt;-a[,3]-a[,2]<\/p>\n<p>\u8fd9\u884c\u4ee3\u7801\u5c06\u6570\u636e\u8868a\u4e2d\u7684\u7b2c6\u5217\u8bbe\u7f6e\u4e3a\u7b2c3\u5217\u51cf\u53bb\u7b2c2\u5217\u7684\u5dee\uff0c\u8fdb\u800c\u5f97\u5230\u6bcf\u4e00\u4e2a\u57fa\u56e0\u533a\u57df\u7684\u957f\u5ea6\u3002<\/p>\n<ol>\n<li>\u6839\u636e\u67d3\u8272\u4f53\u53f7\u8bbe\u7f6e\u5bf9\u5e94\u7684\u6a2a\u5750\u6807\u4e0a\u7684\u4f4d\u7f6e\u5217\uff1a<\/li>\n<\/ol>\n<p>cssCopy code<br \/>\nfor(i in 1:length(a[,1])){<br \/>\nif(a[i,4] == &#8220;chr1&#8221;){<br \/>\na[i,7]=1<br \/>\n}else if(a[i,4] == &#8220;chr2&#8221;){<br \/>\na[i,7]=2<br \/>\n}else if(a[i,4] == &#8220;chr3&#8221;){<br \/>\na[i,7]=3<br \/>\n}else if(a[i,4] == &#8220;chr4&#8221;){<br \/>\na[i,7]=4<br \/>\n}else if(a[i,4] == &#8220;chr5&#8221;){<br \/>\na[i,7]=5<br \/>\n}<br \/>\n}<\/p>\n<p><strong>\u7ed8\u5236\u56fe\u5f62<\/strong><\/p>\n<p>\u200b \u73b0\u5728\uff0c\u6211\u4eec\u5df2\u7ecf\u5b8c\u6210\u4e86\u6570\u636e\u7684\u9884\u5904\u7406\u548c\u6574\u7406\uff0c\u5e76\u4e14\u5df2\u7ecf\u5b9a\u4e49\u4e86\u6211\u4eec\u8981\u4f7f\u7528\u7684\u56fe\u5f62\u5143\u7d20\u548c\u914d\u8272\u65b9\u6848\u3002\u73b0\u5728\uff0c\u8ba9\u6211\u4eec\u7528 ggplot2 \u5305\u4e2d\u7684 ggplot \u51fd\u6570\u521b\u5efa\u4e00\u4e2a\u7ed8\u56fe\u5bf9\u8c61\uff0c\u7528\u4e8e\u7ed8\u5236\u6211\u4eec\u7684\u56fe\u5f62\u3002\u6211\u4eec\u5c06\u5728\u6b64\u51fd\u6570\u4e2d\u6307\u5b9a\u6570\u636e\u6846\u8868a \u4f5c\u4e3a\u6570\u636e\u6e90\uff0c\u540c\u65f6\u6307\u5b9a\u5728 x \u548c y \u8f74\u4e0a\u7ed8\u5236\u7684\u53d8\u91cf\u3002<\/p>\n<p>p &lt;- ggplot(a, aes(x = a[,7], y = a[,6], fill = a[,5], group = a[,4])) + \u00a0#\u6307\u5b9a\u53d8\u91cf a[,7] \u4f5c\u4e3a x \u8f74\u53d8\u91cf\uff0ca[,6] \u4f5c\u4e3a y \u8f74\u53d8\u91cf<br \/>\ngeom_bar(stat = &#8220;identity&#8221;) +<br \/>\ntheme_bw() + \u00a0#\u4e3a\u7ed8\u56fe\u5bf9\u8c61\u6dfb\u52a0\u4e00\u4e2a\u57fa\u672c\u7684\u767d\u8272\u80cc\u666f<br \/>\ntheme(panel.grid.major = element_blank(), \u00a0#\u4f7f\u7528 element_blank \u51fd\u6570\u6765\u9690\u85cf x \u8f74\u548c y \u8f74\u4e0a\u7684\u4e3b\u8981\u7f51\u683c\u7ebf<br \/>\nlegend.position = c(0.9, 0.9),<br \/>\nlegend.title = element_blank()) +<br \/>\nscale_fill_manual(values = colors) + \u00a0#\u51fd\u6570\u8bbe\u7f6e\u6761\u5f62\u586b\u5145\u989c\u8272<br \/>\nscale_x_continuous(breaks = c(1:5), labels = g) +labs(x = &#8220;&#8221;, y = &#8220;&#8221;) + #\u5b9a\u4e49 x \u8f74\u7684\u523b\u5ea6\u503c<br \/>\nscale_y_continuous(labels = c(0, &#8220;10MB&#8221;, &#8220;20MB&#8221;, &#8220;30MB&#8221;)) #\u5b9a\u4e49 y \u8f74\u7684\u523b\u5ea6\u503c<\/p>\n<p>\u5728\u4e0a\u8ff0\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 geom_bar \u51fd\u6570\u7ed8\u5236\u6761\u5f62\u56fe\u3002\u6211\u4eec\u4f7f\u7528 &#8220;identity&#8221; \u53c2\u6570\uff0c\u4ee5\u4f7f ggplot2 \u5305\u77e5\u9053\u6211\u4eec\u5df2\u7ecf\u4f7f\u7528\u4e86\u9884\u5904\u7406\u7684\u6761\u5f62\u9ad8\u5ea6\u3002\u6211\u4eec\u8fd8\u4f7f\u7528 theme \u51fd\u6570\u6765\u8fdb\u4e00\u6b65\u5b9a\u5236\u7ed8\u56fe\u5bf9\u8c61\u7684\u5916\u89c2\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"465\" class=\"wp-image-29997\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/unnamed-file-91.png?resize=640%2C465\" alt=\"\u56fe\u8868, \u6761\u5f62\u56fe\n\n\u63cf\u8ff0\u5df2\u81ea\u52a8\u751f\u6210\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/unnamed-file-91.png?w=1100 1100w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/unnamed-file-91.png?resize=300%2C218 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/unnamed-file-91.png?resize=1024%2C745 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/unnamed-file-91.png?resize=768%2C559 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/unnamed-file-91.png?resize=600%2C436 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/> \u597d\u5566\uff0c\u6211\u4eec\u4eca\u5929\u7684\u7ed8\u56fe\u5de5\u4f5c\u5df2\u7ecf\u57fa\u672c\u5b8c\u6210\uff0c\u6211\u4eec\u4e00\u8d77\u6765\u548c\u5c0f\u679c\u770b\u4e00\u4e0b\u7ed8\u5236\u597d\u7684\u56fe\u957f\u4ec0\u4e48\u6837\u5b50\u5427\uff01<\/p>\n<p><strong>\u56fe\u7247\u63cf\u8ff0<\/strong><\/p>\n<p>\u5728\u8fd9\u4e2a\u56fe\u4e2d\uff0c\u4e3b\u8981\u5411\u5927\u5bb6\u5c55\u793a\u4e86\u62df\u5357\u82a5\u5b8c\u6574\u57fa\u56e0\u7ec4\u76845\u6761\u67d3\u8272\u4f53\u4e0a\u5bf9\u5e94\u7684\u201c\u65b0\u533a\u57df\u201d\u548c\u8001\u533a\u57df\u7684\u4f4d\u7f6e\u5206\u5e03\u56fe\uff0c\u5176\u4e2d\u84dd\u8272\u7684\u90e8\u5206\u4ee3\u8868\u201c\u8001\u533a\u57df\u201d\uff0c\u7ea2\u8272\u7684\u90e8\u5206\u4ee3\u8868\u201c\u65b0\u533a\u57df\u201d\u3002\u540c\u5b66\u4eec\u4e5f\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u60f3\u8981\u5c55\u793a\u7684\u5206\u533a\u6765\u8fdb\u884c\u8bbe\u7f6e\u6570\u636e\u96c6\u54e6\uff01<\/p>\n<p><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/p>\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u5df2\u7ecf\u5b8c\u6210\u4e86\u56fe\u5f62\u7684\u7ed8\u5236\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 R \u4e2d\u7684\u4efb\u4f55\u7ed8\u56fe\u8bbe\u5907\u5c06\u56fe\u5f62\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4f7f\u7528 png \u51fd\u6570\u5c06\u56fe\u5f62\u4fdd\u5b58\u4e3a PNG \u6587\u4ef6\u3002<\/p>\n<p># \u8f93\u51fa\u56fe\u7247<br \/>\npng(filename = &#8220;newGeneAreas111.jpg&#8221;, type = &#8220;cairo&#8221;, height = 800, width = 1100)<br \/>\nprint(p)<br \/>\ndev.off()<\/p>\n<p><strong>\u5b8c\u6574\u4ee3\u7801\uff1a<\/strong><\/p>\n<p>library(ggplot2)<br \/>\n# \u8bfb\u53d6\u6570\u636e<br \/>\na &lt;- read.table(file = &#8220;newGeneArea-15.txt&#8221;, header = F, quote = &#8220;&#8221;, sep = &#8220;\\t&#8221;, stringsAsFactors = F)<br \/>\n# \u63d0\u53d6\u67d3\u8272\u4f53\u53f7<br \/>\ng &lt;- sprintf(&#8220;Chr%s&#8221;, unique(a[, 4]))<br \/>\n# \u63d0\u53d6\u6bcf\u6bb5\u957f\u5ea6<br \/>\na[, 6] &lt;- a[, 3] &#8211; a[, 2]<br \/>\n# \u6807\u8bb0\u67d3\u8272\u4f53\u53f7<br \/>\nfor (i in 1:length(a[, 1])) {<br \/>\nif (a[i, 4] == &#8220;chr1&#8221;) {<br \/>\na[i, 7] = 1<br \/>\n} else if (a[i, 4] == &#8220;chr2&#8221;) {<br \/>\na[i, 7] = 2<br \/>\n} else if (a[i, 4] == &#8220;chr3&#8221;) {<br \/>\na[i, 7] = 3<br \/>\n} else if (a[i, 4] == &#8220;chr4&#8221;) {<br \/>\na[i, 7] = 4<br \/>\n} else if (a[i, 4] == &#8220;chr5&#8221;) {<br \/>\na[i, 7] = 5<br \/>\n}<br \/>\n}<br \/>\n# \u8bbe\u7f6e\u989c\u8272<br \/>\ncolors &lt;- c(&#8220;lightsteelblue2&#8221;, &#8220;orangered3&#8221;)<br \/>\n# \u7ed8\u56fe<br \/>\np &lt;- ggplot(a, aes(x = a[, 7], y = a[, 6], fill = a[, 5], group = a[, 4])) +<br \/>\ngeom_bar(stat = &#8220;identity&#8221;) +<br \/>\ntheme_bw() +<br \/>\ntheme(panel.grid.major = element_blank(),<br \/>\nlegend.position = c(0.9, 0.9),<br \/>\nlegend.title = element_blank()) +<br \/>\nscale_fill_manual(values = colors) +<br \/>\nscale_x_continuous(breaks = c(1:5), labels = g) +<br \/>\nlabs(x = &#8220;&#8221;, y = &#8220;&#8221;) +<br \/>\nscale_y_continuous(labels = c(0, &#8220;10MB&#8221;, &#8220;20MB&#8221;, &#8220;30MB&#8221;))<br \/>\n# \u8f93\u51fa\u56fe\u7247<br \/>\npng(filename = &#8220;newGeneAreas111.jpg&#8221;, type = &#8220;cairo&#8221;, height = 800, width = 1100)<br \/>\nprint(p)<br \/>\ndev.off()<br \/>\nsvg(filename = &#8220;newGeneAreas111.svg&#8221;, height = 7, width = 14)<br \/>\nprint(p)<br \/>\ndev.off()<\/p>\n<p>\u600e\u4e48\u6837\uff0c\u4eca\u5929\u7684\u5206\u533a\u56fe\u8868\u7ed8\u5236\u4f60\u5b66\u4f1a\u600e\u4e48\u7528\u4e86\u5417\uff01<\/p>\n<p>\u66f4\u591aggplot\u7ed8\u56fe\u5e94\u7528\u5b66\u4e60\u8d44\u6e90\u8bf7\u5927\u5bb6\u79fb\u6b65\u5c0f\u679c\u4e13\u5c5e\u4e91\u751f\u4fe1\u5e73\u53f0\u641c\u7d22\u66f4\u591a\u8d44\u6e90\u54e6\uff01<\/p>\n<p><strong>\u5c0f\u679c\u4e13\u5c5e\u4e91\u751f\u4fe1\u5e73\u53f0\uff1a<\/strong><a href=\"http:\/\/www.biocloudservice.com\/home.html\">\u4e91\u751f\u4fe1 \u00a0&#8211; \u5b66\u751f\u7269\u4fe1\u606f\u5b66 (biocloudservice.com)<\/a><\/p>\n<p><strong>ggplot\u7ed8\u5236\u4e92\u4f5c\u7f51\u7edc\u56fe\uff1a<\/strong>http:\/\/www.biocloudservice.com\/703\/703.php<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"487\" class=\"wp-image-29998\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-3.png?resize=640%2C487\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-3.png?w=1096 1096w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-3.png?resize=300%2C228 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-3.png?resize=1024%2C779 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-3.png?resize=768%2C584 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/02\/word-image-29995-3.png?resize=600%2C457 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/> \u4e91\u751f\u4fe1\u5e73\u53f0\u4e5f\u6709\u7ed8\u56fe\u4e13\u7248\u7684\u5b66\u4e60\u6a21\u5757\u54e6\uff0c\u5feb\u6765\u627e\u5230\u4f60\u60f3\u5b66\u4e60\u7684\u4e13\u5c5e\u6a21\u5757\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u638c\u63e1ggplot2\uff0c\u8f7b\u677e\u7ed8\u5236\u57fa\u56e0\u533a\u95f4\u957f\u5ea6\u56fe\uff01\u2014\u2014R\u8bed\u8a00\u5b9e\u6218 \u200b \u76f8\u4fe1\u5927\u5bb6\u90fd\u5bf9R\u8bed\u8a00\u4e2d\u7684ggplot2\u5305\u6709\u6240\u4e86\u89e3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/29995"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29995"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/29995\/revisions"}],"predecessor-version":[{"id":29999,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/29995\/revisions\/29999"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29995"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}