Rstudio安装org.Hs.eg.db

news/2025/1/21 8:42:29/

自己也是个小白,初次安装org.Hs.eg.db碰到好多问题,步骤总结如下:

第一,instal.packages()安装,不行则换 BiocManager::install()

第二,如BiocManager不成,说明不是最新版本,可按提示安装最新版

BiocManager::install(version = '3.13') #由于R版本较新,按照提示中的相关信息,安装最新版本的

第三,再次安装

BiocManager::install("org.Hs.eg.db")

 第四,之后每个人碰到问题就不一样了,我遇到的问题是

             类似于包不能因移除,而无法更新(有11个警告信息,不详细列举)

Bioconductor version 3.13 (BiocManager 1.30.16), R 4.1.0 (2021-05-18)
Old packages: 'gert', 'RCurl', 'readr', 'survival', 'XML'
Update all/some/none? [a/s/n]: 
a
#更新过后报错(中间代码省略)
package ‘stringi’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘stringi’ 
Warning: restored ‘stringi’

解决办法:packages——找到与报警信息对应包——点击❌去除相应包(之后可再安装)

 第五,再次BiocManager::install("org.Hs.eg.db")

第六,最后library("org.Hs.eg.db"),出现以下代码,恭喜你安装成功

载入需要的程辑包:AnnotationDbi
载入需要的程辑包:stats4
载入需要的程辑包:BiocGenerics
载入需要的程辑包:parallel载入程辑包:‘BiocGenerics’The following objects are masked from ‘package:parallel’:clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,clusterExport, clusterMap, parApply, parCapply, parLapply,parLapplyLB, parRapply, parSapply, parSapplyLBThe following objects are masked from ‘package:stats’:IQR, mad, sd, var, xtabsThe following objects are masked from ‘package:base’:anyDuplicated, append, as.data.frame, basename, cbind, colnames,dirname, do.call, duplicated, eval, evalq, Filter, Find, get,grep, grepl, intersect, is.unsorted, lapply, Map, mapply, match,mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position,rank, rbind, Reduce, rownames, sapply, setdiff, sort, table,tapply, union, unique, unsplit, which.max, which.min载入需要的程辑包:Biobase
Welcome to BioconductorVignettes contain introductory material; view with'browseVignettes()'. To cite Bioconductor, see'citation("Biobase")', and for packages 'citation("pkgname")'.载入需要的程辑包:IRanges
载入需要的程辑包:S4Vectors载入程辑包:‘S4Vectors’The following objects are masked from ‘package:base’:expand.grid, I, unname载入程辑包:‘IRanges’The following object is masked from ‘package:grDevices’:windows

文章来源:https://blog.csdn.net/ZH_DDong/article/details/119900413
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.ppmy.cn/news/337879.html

相关文章

r7 4800h和r7 4800hs的区别

锐龙7 4800H采用8核心16线程设计,基础频率2.9GHz,加速频率4.3GHz(官方数据是4.2GHz),256KB一级缓存、4MB二级缓存以及8MB的三级缓存。内置Vega 7核显,拥有448个流处理器,GPU频率高达1600MHz&…

The signing key‘s size is 1024 bits which is not secure enough for the RS256 algorithm.

场景: 最近在对接JWT中的RS256加密api,但是第三方给的私钥里面长度只有1024,由于JWT从0.10.0开始公私钥长度最低只能是2048,导致无法使用第三方的私钥进行加密。经过一番折腾,我改动了里面的源码,把jar包放…

The signing key‘s size is 136 bits which is not secure enough for the HS256 algorithm. The JWT JWA S

今天在用JWT的时候发现报了这个错误 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Sun Feb 07 15:30:44 CST 2021 There was an unexpected error (typeInternal Server Error, status500). The s…

k8s pod configmap挂载外部配置文件

1. 创建configmap # nginx-vue-router.conf server {listen 80;listen [::]:80;server_name localhost;#access_log /var/log/nginx/host.access.log main;location / {root /usr/share/nginx/html;index index.html index.htm;# 适配vue-routertry_files $uri $…

k8s zookeeper 问题解决:UnknownHostException: zk-2.zk-hs.default.svc.cluster.local

报错信息: Cannot open channel to 3 at election address UnknownHostException: zk-2.zk-hs.default.svc.cluster.local 解决思路: 配置文件$ ZOOKEEPER_HOME / conf / zoo.cfg,每个机器IP设置为“0.0.0.0”,如下所示&#…

FPGA EMMC HS400模式verilog驱动开发

背景 前期Emmc驱动最高支持到HS200,整体的性能还有待提高,本次考虑将模式升级到HS400模式,理论最快读写速度可达400MB/S HS400特性如下: 1.切换过程 相对之前的设计,考虑增加一个读取设备类型的操作: …

scanf_s 用法

今天,我在使用scanf_s编写C语言程序,因为是在visual stidio 2013 只能使用建立C程序,再将后缀名改成.c来实现。 ANSI中的的scanf(),在读取时不检查边界,可能会造成内存访问越界,例如分配了5字节的空间但是读…

USB HS-PHY眼图调试

1 USB2 PHY AFE 1.1 USB 2.0 FS PHY github ultraembedded / core_usb_fs_phy NOP USB transceiver for all USB transceiver which are either built-in into USB IP or which are mostly autonomous. 1.2 电阻参数 USB host端:D和D-各接一个15kΩ的下拉电阻&#…