install.packages(source_repo, repos=NULL, type="source") } } 接下来是bioconductor的 专门存放生物信息学相关的包,代码如下所示: BioCdep <- c("SingleR","limma","BiocFileCache","AnnotationHub", "ExperimentHub","celldex","scDblFinder") newPackages <- BioCdep[!(BioCdep %in% installed.packages()...
复制 BioCdep<-c("SingleR","limma","BiocFileCache","AnnotationHub","ExperimentHub","celldex","scDblFinder")newPackages<-BioCdep[!(BioCdep%in%installed.packages()[,"Package"])]if(length(newPackages)){BiocManager::install(newPackages)} 还有GitHub包 如果你需要安装包依赖了一个仍然是在GitHub的包,...