更新和安装R
不定时的更新R包,会有不时的各种问题
一般
【更新和安装R】睡一觉,网络好了就好了
rm(list = ls())
options()BioC_mirror
options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/")
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) # 修改了镜像
options()BioC_mirror
https://bioconductor.org/packages/release/bioc/html/GEOquery.html
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("KEGG.db",ask = F,update = F)
BiocManager::install(c("GSEABase","GSVA","clusterProfiler" ),ask = F,update = F)
BiocManager::install(c("GEOquery","limma","impute" ),ask = F,update = F)
BiocManager::install(c("genefu","org.Hs.eg.db","hgu133plus2.db" ),ask = F,update = F)
source("https://bioconductor.org/biocLite.R")
library('BiocInstaller')
options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/") # 修改了镜像
BiocInstaller::biocLite("GEOquery")
BiocInstaller::biocLite(c("limma"))
BiocInstaller::biocLite(c("impute"))
options()$repos
install.packages('WGCNA')
install.packages(c("FactoMineR", "factoextra"))
install.packages(c("ggplot2", "pheatmap","ggpubr"))
library("FactoMineR")
library("factoextra")
library(GSEABase)
library(GSVA)
library(clusterProfiler)
library(genefu)
library(ggplot2)
library(ggpubr)
library(hgu133plus2.db)
library(limma)
library(org.Hs.eg.db)
library(pheatmap)
推荐阅读
- 《跨界歌手》:亲情永远比爱情更有泪点
- Mac安装Chromedriver
- 【译】20个更有效地使用谷歌搜索的技巧
- MongoDB,Wondows下免安装版|MongoDB,Wondows下免安装版 (简化版操作)
- 从蓦然回首到花开在眼前,都是为了更好的明天。
- MAC安装Mongo
- 六月更新的......
- 研学让生活更美好
- 如何更好的去学习
- 姚老师互动问答会|姚老师互动问答会 # 问题001(如何更有智慧的和身边人分享金刚智慧())