当前位置:网站首页>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 .
边栏推荐
- QT qtablewidget table column top requirements ideas and codes
- JS arguments parameter usage and explanation
- C语言练习题(递归)
- Grounding relay dd-1/60
- 我的NVIDIA开发者之旅——优化显卡性能
- Sleep quality today 78 points
- Configure cross compilation tool chain and environment variables
- Luogu deep foundation part 1 Introduction to language Chapter 5 array and data batch storage
- [March 3, 2019] MAC starts redis
- ES6 modularization
猜你喜欢
Tf/pytorch/cafe-cv/nlp/ audio - practical demonstration of full ecosystem CPU deployment - Intel openvino tool suite course summary (Part 2)
《ClickHouse原理解析与应用实践》读书笔记(4)
198. House raiding
Appium基础 — APPium安装(二)
How to use multithreading to export excel under massive data? Source code attached!
ABAP:OOALV实现增删改查功能
Layoutmanager layout manager: flowlayout, borderlayout, GridLayout, gridbaglayout, CardLayout, BoxLayout
Configure cross compilation tool chain and environment variables
如何实现视频平台会员多账号登录
Gridview出现滚动条,组件冲突,如何解决
随机推荐
报错cvc-complex-type.2.4.a: 发现了以元素 ‘base-extension‘ 开头的无效内容。应以 ‘{layoutlib}‘ 之一开头。
C réaliser des jeux de serpents gourmands
Grounding relay dd-1/60
AWT introduction
How to solve the component conflicts caused by scrollbars in GridView
测试岗的中年危机该如何选择?是坚守还是另寻出路?且看下文
Kubernets first meeting
Fast power (template)
C language exercises (recursion)
Functions in C language (detailed explanation)
Steady! Huawei micro certification Huawei cloud computing service practice is stable!
[microservice] Nacos cluster building and loading file configuration
JS扁平化数形结构的数组
Matlab remainder
[untitled]
27-31. Dependency transitivity, principle
Invalid revision: 3.18.1-g262b901-dirty
Internet of things protocol ZigBee ZigBee module uses the concept of protocol stack
Uninstall Google drive hard drive - you must exit the program to uninstall
JSON Web Token----JWT和传统session登录认证对比