Whole-genome resequencing of 445 Lactuca accessions reveals the domestication history of cultivated lettuce
今天试着重复的图片对应着的是论文附件中的Figure8c,基因结构图,论文中文字部分对图的描述是 Gene structure of Lsat_6X11620. Closed bars represent exons, and open bars represent untranslated regions and introns. The positions of the SNPs in the promoter region are indicated by black triangles. An highly associated SNP, A-to-G transition at Chr. 6:15,542,968 is represented by a red triangle.
最终结果如下
这个包的主要作用是可以让指定区域内的文字自动适应区域的大小,背景等,还可以根据区域自动换行等等,后面争取出一期推文专门介绍这个包
另外之前的推文遇到了一个问题是ggplot2添加文本标签的时候如何让文字居左或者居右显示,有人留言说是hjust参数,我原来一直以为这个参数是让文本左右移动,原来hjust设置为0.5,就是居中,设置为1就是居右,设置为0就是居左
小明的数据分析笔记本
小明的数据分析笔记本 公众号 主要分享:1、R语言和python做数据分析和数据可视化的简单小例子;2、园艺植物相关转录组学、基因组学、群体遗传学文献阅读笔记;3、生物信息学入门学习资料及自己的学习笔记!
THE END