Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use R language ggplot2 to draw bubble diagram to show gene expression

Shulou Source: shulou.com Published: 2022-06-01 22:00:46 11月14日 Update

How to use R language ggplot2 to draw a bubble chart to show gene expression, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Image.png

What is repeated today is the figure2f in the paper.

Image.png

Today's tweet mainly introduces the bubble chart, and tomorrow's tweet describes how to overlay the tree diagram on the bubble chart.

According to the code provided in this paper, we get the data used for drawing, some of which are as follows

Image.png

But he was not able to draw a picture with the drawing code he provided. Because he used a dot_plot () function, he couldn't find out where it came from. Now that you've got the data, use ggplot2 to draw it yourself.

Read in data data.final

Tags: Bubbles content data genes languages codes functions coordinates axes methods more papers questions at a loss for this next the theme he uses the content includes drawing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Technology Linux Huawei vpn