The R language lollipop diagram shows the position of snp in genes.
This article will explain in detail about the R language lollipop map showing the position of snp in genes, and the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.
Today, I saw someone in a WeChat group asking how to implement the following two pictures in R language.
The first picture of image.pngimage.png is a scatter chart.
Two columns of data are used to control the position of scatter points, a column of variables is used to map colors, and Frequency is used to map sizes. This is relatively easy to implement. There is also a column for adding text labels.
Let's construct a dataset for drawing.
Df