paper Meta-analysis of the impacts of global change factors on soil microbial diversity and functionality https://www.nature.com/articles/s41467-020-16881-7#Sec15 The paper provides data and code, which is a good learning material. This paper is a message from a reader of the public account, saying that this paper provides data and code, but the code is relatively long and […]
Tag: ggplot2
R language ggplot2 | R language drawing species composition area map (3)
Article directory Introduction to Area Charts Prepare dataset load dataset data processing data visualization Use the R language to draw species composition maps. This article is shared with you in the form of a stacked area chart. Introduction to area chart Area charts are also called area charts. It is formed on the basis of […]
ggplot2 primary _ sorting and beautification of scatterplots
The previous section talked about the drawing method of the scatter plot, but based on the ordinary drawing method, it cannot be applied to the article at all. This section will beautify it and sort it according to the size of the points. 1. Sort There is a default sorting function reorder in ggplot2, which […]
Correlation analysis heat map: ggplot2 package draws environmental factors and species correlation heat map/bubble map
Hello everyone, today I will introduce how to use R language to analyze the correlation between environmental factors and species, and use the ggplot2 package to draw heat maps and bubble maps to visualize the results of correlation analysis. The correlation heatmap style was inspired by an article in Microbiome magazine: Step1: Correlation analysis between […]
ggplot2, RMySQL, httpuv, shiny, miniUI, devtools, recharts, ‘aclocal-1.16’ is missing on your system. Installation problem
this article Main solution install.packages(“ggplot2”) install.packages(“RMySQL”) install.packages(“httpuv”) install.packages(“shiny”) install.packages(“miniUI”) install.packages(“devtools”) install.packages(“recharts”) The problem of not being able to install and run as well as ‘aclocal-1.16’ is missing on your system. This WARNING. Directory my environment description Ubuntu 16.04 R version 4.3.0 ggplot2 downloaded successfully! RMySQL downloaded successfully! automake-1.16.tar.gz downloaded successfully! 【Successfully resolved ‘aclocal-1.16’ is missing […]
R language uses ggplot2 package for drawing
Using the ggplot2 package to draw set up Drawing shows Chinese showtext_auto() View and set fonts windowsFonts() set title Add formula expression() Add text to plot geom_text(); annotate() Added regression equation, R2, significant P value to plot Modify the horizontal axis scale scale_x_continuou() Add vertical, horizontal, and diagonal geom_hline(), geom_vline(), geom_abline() Adjust the color of […]
R language ggplot2 | R language draws a stacked histogram of species composition (2)
Article directory Introduction to Stacked Column Charts Prepare dataset load dataset data processing data visualization Use the R language to draw species composition maps. This article shares it with you in the form of an alluvial map, and will share a stacked area map and a stacked column chart later. The virtual data constructed by […]
R language ggplot2 | R language draw species composition alluvial map (1)
Article directory Introduction to Stacked Alluvial Charts Prepare dataset load dataset data processing data visualization Use the R language to draw species composition maps. This article shares it with you in the form of an alluvial map, and will share a stacked area map and a stacked column chart later. The virtual data constructed by […]
ggplot2-drawing-boxplot
Table of Contents 1. The previous long-winded 2. Description of drawing data 3. Basic box plot Four, grouped box plot 1. Grouped boxplot of single categorical variable 1.1 Basic Edition 1.2 Beautified version 2. Grouped boxplots for dual categorical variables 2.1 Basic Edition 2.2 Beautified version Five, the full version code of the box plot […]
ggplot2 – bar and line charts
author: Li Pidong email: [email protected] date: March 7, 2016 http://blog.csdn.net/tanzuozhev/article/details/50822204 This article adds my own understanding based on http://www.cookbook-r.com/Graphs/Bar_and_line_graphs_(ggplot2). The data type accepted by ggplot2 must be a data.frame structure, Discrete data as x-axis For bar charts, there are two different options for setting the height: The values corresponding to x and y are the […]