重新安装r包就好了!
#1 加载各种包-----
#devtools::install_github('smorabit/hdWGCNA', ref='dev')
#devtools::install_github('smorabit/hdWGCNA', ref = 'dev', download.method = "libcurl")
#remotes::install_github("immunogenomics/harmony", build_vignettes=TRUE)
#remotes::install_github('smorabit/hdWGCNA', ref = 'dev') #比devtools更容易成功!!!
if(T){
# single-cell analysis package
library(Seurat)
# plotting and data science packages
library(tidyverse)
library(cowplot)
library(patchwork)
# co-expression network analysis packages:
library(WGCNA)
library(hdWGCNA)
# using the cowplot theme for ggplot
theme_set(theme_cowplot())
# set random seed for reproducibility
set.seed(12345)
}