changeset 15:4b3faf457c37 draft

Uploaded
author proteomisc
date Sun, 03 Dec 2023 16:14:11 +0000
parents 0d544d449cca
children a73997df371a
files preprocess_datasets/Affymetrix_Preprocessing_Functions.R
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/preprocess_datasets/Affymetrix_Preprocessing_Functions.R	Sun Dec 03 16:13:53 2023 +0000
+++ b/preprocess_datasets/Affymetrix_Preprocessing_Functions.R	Sun Dec 03 16:14:11 2023 +0000
@@ -22,7 +22,8 @@
   installed<-as.data.frame(installed.packages())
   lbraries=paste(annotation(data.sm),"db",sep='.')
   if(!lbraries%in%installed$Package){
-  biocLite(lbraries[!lbraries%in%installed$Package])}
+  suppressWarnings(suppressMessages(require("BiocManager", quietly = TRUE)))
+  BiocManager::install(lbraries[!lbraries%in%installed$Package])}
   
   suppressWarnings(suppressMessages(library(lbraries,character.only = TRUE)))