当前位置:网站首页>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 .
边栏推荐
- The width of the picture in rich text used by wechat applet exceeds the problem
- JS execution mechanism
- 198. House raiding
- Error CVC complex type 2.4. a: Invalid content beginning with element 'base extension' was found. Should start with one of '{layoutlib}'.
- Practical gadget instructions
- 注释与注解
- Average two numbers
- Considerations for testing a website
- 复合非线性反馈控制(二)
- Arcpy uses the updatelayer function to change the symbol system of the layer
猜你喜欢
SQL injection SQL lab 11~22
复合非线性反馈控制(二)
Learning multi-level structural information for small organ segmentation
剑指 Offer II 038. 每日温度
Bicolor case
Gridview出现滚动条,组件冲突,如何解决
QT qtablewidget table column top requirements ideas and codes
Steady! Huawei micro certification Huawei cloud computing service practice is stable!
[untitled]
How does apscheduler set tasks not to be concurrent (that is, execute the next task after the first one)?
随机推荐
How to help others effectively
How does apscheduler set tasks not to be concurrent (that is, execute the next task after the first one)?
FRP intranet penetration, reverse proxy
JS扁平化数形结构的数组
Component、Container容器常用API详解:Frame、Panel、ScrollPane
[untitled]
Error CVC complex type 2.4. a: Invalid content beginning with element 'base extension' was found. Should start with one of '{layoutlib}'.
Detailed explanation of common APIs for component and container containers: frame, panel, scrollpane
Tf/pytorch/cafe-cv/nlp/ audio - practical demonstration of full ecosystem CPU deployment - Intel openvino tool suite course summary (Part 2)
Invalid revision: 3.18.1-g262b901-dirty
Configure cross compilation tool chain and environment variables
手动对list进行分页(参数list ,当前页,页面大小)
如何避免 JVM 内存泄漏?
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
2022.7.3-----leetcode.556
Detectron:训练自己的数据集——将自己的数据格式转换成COCO格式
4G wireless all network solar hydrological equipment power monitoring system bms110
Nexus 6p downgraded from 8.0 to 6.0+root
如何实现视频平台会员多账号登录
2022.7.3-----leetcode. five hundred and fifty-six