安裝ChAMP
包時提示報錯:there is no package called 'GO.db'
這個報錯看起來問題不大,缺啥補啥。那就安裝GO.db
包。
於是我麻溜的寫下安裝命令行BiocManager::install("GO.db")
此時又報錯了:
Error in download.file(url, destfile, method, mode = "wb", ...) :
download from 'https://bioconductor.org/packages/3.11/data/annotation/src/contrib/GO.db_3.11.1.tar.gz' failed
最后還是谷歌搞定的,解決方案在這里:https://stackoverflow.com/questions/55298366/cannot-install-go-db-in-biocmanager
分三步走:
-
BiocManager::install("Biobase")
-
BiocManager::install("GO.db")
Respond "y" when it asks if you want to update all packages.
- BiocManager::valid("GO.db")
搞定!