Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The R language lollipop diagram shows the position of snp in genes.

Shulou Source: shulou.com Published: 2022-06-01 22:11:38 10月29日 Update

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

Tags: Location language documents genes lollipops examples content data articles more knowledge articles help good home page public functions impressions variables pictures Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Tech Info vpn Shulou Technology Xiaomi