当前位置:网站首页>R statistical mapping - random forest classification analysis and species abundance difference test combination diagram
R statistical mapping - random forest classification analysis and species abundance difference test combination diagram
2022-07-04 06:19:00 【Silent voice】
This paper mainly deals with the test plot of variable importance and species abundance difference between random forest groups , It includes the following parts :
1) Random forest classification ;
2) Random forest classification variable importance mapping ;
3) Species abundance difference test plot
4) Combination diagram of the importance of random forest classification variables and species abundance differences
1. Data preparation
Fictitious microorganisms containing classification information are used here otu data , Used to build a random forest classification model .
# 1.1 Import data
setwd("D:\\EnvStat\\ Official account document \\ Random forest analysis ") # Set work path
## Subsequent consolidation of data tables , The species names must be the same ,
## So try not to have special symbols in the imported data table .
#dir()
#file.show("otu.csv")
otu = read.csv("otu.csv",row.names = 1,header = TRUE,check.names = FALSE,stringsAsFactors = FALSE) # Microbiome data
dim(otu)
head(otu)
chart 1| original otu surface ,otu.csv. The first two columns are classified information , Later analysis only uses depth Categorization information .
边栏推荐
- 复合非线性反馈控制(二)
- win10清除快速访问-不留下痕迹
- Invalid revision: 3.18.1-g262b901-dirty
- LayoutManager布局管理器:FlowLayout、BorderLayout、GridLayout、GridBagLayout、CardLayout、BoxLayout
- 17-18. Dependency scope and life cycle plug-ins
- 云原生——上云必读之SSH篇(常用于远程登录云服务器)
- 报错cvc-complex-type.2.4.a: 发现了以元素 ‘base-extension‘ 开头的无效内容。应以 ‘{layoutlib}‘ 之一开头。
- webrtc 快速搭建 视频通话 视频会议
- C realize Snake games
- 【无标题】
猜你喜欢

webrtc 快速搭建 视频通话 视频会议

HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)

740. Delete and get points

Kubernets first meeting

C réaliser des jeux de serpents gourmands

Functions in C language (detailed explanation)

Appium基础 — APPium安装(二)

我的NVIDIA开发者之旅——优化显卡性能

Leakage detection relay jy82-2p

Compound nonlinear feedback control (2)
随机推荐
Appium基础 — APPium安装(二)
JSON Web Token----JWT和传统session登录认证对比
Kubernets first meeting
《ClickHouse原理解析与应用实践》读书笔记(4)
ABAP:OOALV实现增删改查功能
ES6 模块化
手动对list进行分页(参数list ,当前页,页面大小)
Compound nonlinear feedback control (2)
Layoutmanager layout manager: flowlayout, borderlayout, GridLayout, gridbaglayout, CardLayout, BoxLayout
[March 3, 2019] MAC starts redis
Bicolor case
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
Notes and notes
Tsinghua University product: penalty gradient norm improves generalization of deep learning model
C language exercises (recursion)
Considerations for testing a website
How to solve the component conflicts caused by scrollbars in GridView
How to implement lazy loading in El select (with search function)
MySQL installation and configuration
Experience weekly report no. 102 (July 4, 2022)