当前位置:网站首页>R language calculates Spearman correlation coefficient in parallel to speed up the construction of co occurrence network
R language calculates Spearman correlation coefficient in parallel to speed up the construction of co occurrence network
2022-06-27 07:23:00 【Mrrunsen】
Altogether (co-occurrence network) Network analysis has increasingly become an important part of microbial ecology
Part of the , It has become a hot technology in the current articles . utilize spearman Correlation analysis is to construct co-occurrence
The important method of network , But because of OTU table There are often thousands of lines , use R Self contained corr.test() Letter
Counting is time-consuming , It seriously restricts our analysis speed . Yes spearman The correlation analysis is parallelized
Running can greatly save computing time , For this we wrote spearman Correlation analysis function to achieve parallel
Standardized operation . For the convenience of explanation , This article takes OTU table Take the data , Yes OTU Go in twos spearman phase
Turn off sex branch Analysis , a have to phase Turn off system Count r and display Writing sex p value . I People take since Oneself hand Write Of Letter Count
network_construct() And psych In bag corr.test() Function both the running time and the calculated results
Compared , Our own function network_construct() The calculation time is far less than corr.test() Function Union
The results are the same , Concrete R The code is shown below
library(psych)
system.time(corr.test(otu[,1:500],use=边栏推荐
- 2022 CISP-PTE(一)文件包含
- HTAP in depth exploration Guide
- (已解决) MINet 进行测试时报错如下 raise NotImplementedError
- VNC Viewer方式的远程连接树莓派
- sql sever列名或所提供值的数目与表定义不匹配
- 在线文本数字识别列表求和工具
- 【OpenAirInterface5g】RRC NR解析之RrcSetupComplete
- 【编译原理】山东大学编译原理复习提纲
- How to download opencv? How to configure opencv after downloading?
- 请问如何在网页通过excel文件的形式向后段数据库添加数据
猜你喜欢

2022 cisp-pte (II) SQL injection

Solve the problem of win10 wsl2 IP change

2022 le fichier CISP - Pte (i) contient:

Vs how to configure opencv? 2022vs configuration opencv details (multiple pictures)

程序人生 - 程序员三十五岁瓶颈你怎么看?

小米面试官:听你说精通注册中心,我们来聊 3 天 3 夜

正斜杠反斜杠的由来

Process termination (have you really learned recursion? Test your recursion Foundation)

进程终止(你真的学会递归了吗?考验你的递归基础)

在线文本数字识别列表求和工具
随机推荐
Partial function of Scala
Self test in the second week of major 4
Yolov6's fast and accurate target detection framework is open source
Tar: /usr/local: cannot find tar in the Archive: due to the previous error, it will exit in the last error state
Transaction overview of tidb
Fractional Order PID control
数据库系统工程师对口专业有哪些?
Process termination (have you really learned recursion? Test your recursion Foundation)
2022 le fichier CISP - Pte (i) contient:
Hutool symmetric encryption
SQL 注入绕过(一)
thrift
How to write controller layer code gracefully?
2022 cisp-pte (II) SQL injection
ggplot2的自定义调色板
Centos7.9 install MySQL 5.7 and set startup
R 语言并行计算 spearman 相关系数,加快共现网络(co- occurrence network)构建速度
R 语言Analyzing wine data
云服务器配置ftp、企业官网、数据库等方法
Basic SQL operations in tidb