千家信息网

Vennerable包怎么安装

发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,小编给大家分享一下Vennerable包怎么安装,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!Vennerable包并没有
千家信息网最后更新 2025年02月01日Vennerable包怎么安装

小编给大家分享一下Vennerable包怎么安装,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

Vennerable包并没有在CRAN,所以他的安装需要提供相应的链接,其安装方法可以在:http://r-forge.r-project.org/projects/vennerable 找到,或者 https://github.com/js229/Vennerable

后者提供安装的版本更高,R包也由依赖reshape变成了reshaep2:

###安装相关绘图包local({r <- getOption("repos")  r["CRAN"] <- "http://mirrors.tuna.tsinghua.edu.cn/CRAN/" options(repos=r)})options(BioC_mirror="https://mirrors.tuna.tsinghua.edu.cn/bioconductor")if (!requireNamespace("BiocManager", quietly = TRUE))install.packages("BiocManager")BiocManager::install(c("RBGL", "graph"))###安装下载包devtools 以便使用安装命令install_githubinstall.packages("devtools",repos="http://mirrors.tuna.tsinghua.edu.cn/CRAN/")library(devtools)###Use reshape2 instead of reshapeinstall_github("js229/Vennerable")

1、最好先安装依赖的包,以免影响软件安装

2、安装devtools 并加载,以便能够使用安装命令install_github

3、利用install_github 安装 Vennerable 并且可以在加载包之后,利用packageVersion查看安装的包的版本。

以上是"Vennerable包怎么安装"这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!

0