当前位置:网站首页>R统计绘图-随机森林分类分析及物种丰度差异检验组合图
R统计绘图-随机森林分类分析及物种丰度差异检验组合图
2022-07-04 06:13:00 【静默人声】
此文主要涉及随机森林组间变量重要性和物种丰度差异检验绘图,包含以下几部分内容:
1)随机森林分类;
2)随机森林分类变量重要性绘图;
3)物种丰度差异检验绘图
4)随机森林分类变量重要性及物种丰度差异组合图
1. 数据准备
此处使用包含分类信息的虚构微生物otu数据,用于构建随机森林分类模型。
# 1.1 导入数据
setwd("D:\\EnvStat\\公众号文件\\随机森林分析") # 设置工作路径
##后续合并数据表时,物种名必须一样,
##所以导入的数据表尽量不要有特殊符号。
#dir()
#file.show("otu.csv")
otu = read.csv("otu.csv",row.names = 1,header = TRUE,check.names = FALSE,stringsAsFactors = FALSE) # 微生物组数据
dim(otu)
head(otu)
图1|原始otu表,otu.csv。前两列为分类信息,后面分析只使用depth分类信息。
边栏推荐
- JS arguments parameter usage and explanation
- win10清除快速访问-不留下痕迹
- js获取对象中嵌套的属性值
- Nexus 6p从8.0降级6.0+root
- Qt发布多语言国际化翻译
- [March 3, 2019] MAC starts redis
- C實現貪吃蛇小遊戲
- lightroom 导入图片灰色/黑色矩形 多显示器
- JS execution mechanism
- Learn about the Internet of things protocol WiFi ZigBee Bluetooth, etc. --- WiFi and WiFi protocols start from WiFi. What do we need to know about WiFi protocol itself?
猜你喜欢

C语言练习题(递归)

配置交叉编译工具链和环境变量

Learning multi-level structural information for small organ segmentation

Functions in C language (detailed explanation)

注释与注解

4G wireless all network solar hydrological equipment power monitoring system bms110

Abap:ooalv realizes the function of adding, deleting, modifying and checking

接地继电器DD-1/60

Grounding relay dd-1/60

C language exercises (recursion)
随机推荐
QT qtablewidget table column top requirements ideas and codes
ES6 模块化
Yiwen unlocks Huawei's new cloud skills - the whole process of aiot development [device access - ESP end-to-side data collection [mqtt]- real time data analysis] (step-by-step screenshot is more detai
buuctf-pwn write-ups (8)
Kubernets first meeting
JSON web token -- comparison between JWT and traditional session login authentication
2022.7.3-----leetcode. five hundred and fifty-six
2022.7.2-----leetcode.871
js arguments参数使用和详解
MySQL information_ Schema database
Steady! Huawei micro certification Huawei cloud computing service practice is stable!
Upper computer software development - log information is stored in the database based on log4net
如何避免 JVM 内存泄漏?
Detailed explanation of common APIs for component and container containers: frame, panel, scrollpane
APScheduler如何设置任务不并发(即第一个任务执行完再执行下一个)?
Practical gadget instructions
Install pytoch geometric
C语言中的函数(详解)
【无标题】
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage