当前位置:网站首页>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分类信息。
边栏推荐
- 509. Fibonacci number, all paths of climbing stairs, minimum cost of climbing stairs
- 冲击继电器JC-7/11/DC110V
- Detectron:训练自己的数据集——将自己的数据格式转换成COCO格式
- Grounding relay dd-1/60
- Average two numbers
- HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)
- Compound nonlinear feedback control (2)
- One click filtering to select Baidu online disk files
- Distributed cap theory
- buuctf-pwn write-ups (8)
猜你喜欢

win10清除快速访问-不留下痕迹

Grounding relay dd-1/60

接地继电器DD-1/60

Webrtc quickly set up video call and video conference

Input displays the currently selected picture

测试岗的中年危机该如何选择?是坚守还是另寻出路?且看下文

The end of the Internet is rural revitalization
![[openvino+paddle] paddle detection / OCR / SEG export based on paddle2onnx](/img/a9/72791cbcc6c9da45e89450ab2820c1.jpg)
[openvino+paddle] paddle detection / OCR / SEG export based on paddle2onnx

Experience weekly report no. 102 (July 4, 2022)

【无标题】
随机推荐
509. 斐波那契数、爬楼梯所有路径、爬楼梯最小花费
"In simple language programming competition (basic)" part 1 Introduction to language Chapter 3 branch structure programming
ES6 modularization
ABAP:OOALV实现增删改查功能
Tf/pytorch/cafe-cv/nlp/ audio - practical demonstration of full ecosystem CPU deployment - Intel openvino tool suite course summary (Part 2)
px em rem的区别
AWT常用组件、FileDialog文件选择框
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
Accidentally deleted the data file of Clickhouse, can it be restored?
Component、Container容器常用API详解:Frame、Panel、ScrollPane
Nexus 6p从8.0降级6.0+root
win10清除快速访问-不留下痕迹
MySQL installation and configuration
冲击继电器JC-7/11/DC110V
A little understanding of GSLB (global server load balance) technology
How to avoid JVM memory leakage?
One click filtering to select Baidu online disk files
740. Delete and get points
Sword finger offer II 038 Daily temperature
C réaliser des jeux de serpents gourmands