当前位置:网站首页>R statistical plot - correlation of environmental factors +mantel test combination diagram (linket package introduction 1)
R statistical plot - correlation of environmental factors +mantel test combination diagram (linket package introduction 1)
2022-06-21 06:02:00 【Silent voice】
linkET yes ggcor The author's new bag , Most commonly used for plotting combined with correlation analysis +mantel test Draw a correlation combination diagram . But he also draws random forests 、 Heat map and other functions , The drawing is also very beautiful . The following articles will introduce linkET Use of the bag . The first part introduces the most used functions - Draw a correlation combination diagram .
1. Data preparation
# 1.1 Set work path
#knitr::opts_knit$set(root.dir="D:\\EnvStat\\linkET")# Use Rmarkdown Run the program
Sys.setlocale('LC_ALL','C') # Rmarkdown Global settings
options(stringsAsFactors=F)# R Environment variable settings in , Prevent character variables from being converted to factors
setwd("D:\\EnvStat\\linkET")
# 1.2 Read in environmental factors 、otu And metabolic data
#library(devtools)
#install_github('Hy4m/linkET',force = TRUE) # Installation package
library(linkET)
ls("package:linkET") # View all function names in the package
#mget(ls("package:linkET"), inherits = TRUE) # Check the function name and source code
library(ggplot2)
library(dplyr)
# otu data
otu = read.csv("otu.csv",row.names = 1,stringsAsFactors = FALSE,check.names = FALSE)
head(otu)
# Metabolome data
met = read.csv("met.csv",row.names = 1,stringsAsFactors = FALSE,check.names = FALSE)
head(met)
# Environmental factors 边栏推荐
- The database is 8.0 students. In this place, add this paragraph? useSSL=false&serverTimezone=GMT%2B8&characterEncoding=utf8
- tf.AUTO_REUSE作用
- Embedded programming complexity
- 基于注意力的seq2seq模型
- 数字式温度传感器工作原理以及测温原理分析
- Metasploit intrusion win7
- UVC sterilization lamp with integrated sterilization, deodorization and odor removal
- Touch chip applied in touch screen of washing machine
- Subtitle, key frame animation and sound processing in PR
- 应用在洗衣机触摸屏中的触摸芯片
猜你喜欢

sqli-labs-17

完善业务细节必填项的确定,根据返回的状态码回显错误信息时,回显的信息与预期不符

Laravel

Canvas makes classic Snake

实现杀菌、除臭、除异味多效集成的UVC杀菌灯

应用在洗衣机触摸屏中的触摸芯片

These classic software, which was once very popular, are still fresh in my memory now

Eth Denver conference is a Web3 foam signal? See what investors and builders say respectively

398-哈希表(242.有效的字母异位词 & 349. 两个数组的交集 & 202. 快乐数)

Emotron Elton soft starter maintenance msf370/msf450
随机推荐
代码中变量的重要性
Two ways to get rid of the setback of the new retail brand "three squirrels"
Research and Analysis on the current situation of China's video conference transcription market and forecast report on its development prospects (2022)
Laravel
Arm authoritative guide and our group's project notes
tf. compat. v1.global_ variables_ initializer
攻防世界 php_rce
el-table表格循环升级版
Excel列数字索引转字符索引
【JVM】方法区
Things to think about before using mysqldump
sqli-labs23
ReturnType
397-链表(206.反转链表 & 24. 两两交换链表中的节点 & 19. 删除链表的倒数第 N 个结点 & 面试题 02.07. 链表相交 & 142.环形链表II)
Canvas制作经典贪吃蛇
China video booth market status research analysis and development prospect forecast report (2022)
Implementation and analysis of transformer model
应用在洗衣机触摸屏中的触摸芯片
Embedded development experience of RTOS group
ReturnType