Skip to content

Commit

Permalink
Update MGnify_course.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman authored Sep 26, 2024
1 parent 5b3fac8 commit 93edede
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vignettes/MGnify_course.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,13 @@ packages <- c("ANCOMBC", "MGnifyR", "mia", "miaViz", "scater")
# Get packages that are already installed
packages_already_installed <- packages[ packages %in% installed.packages() ]
# Get packages that need to be installed
packages_need_to_install <- setdiff( packages, packages_already_installed )
# Loads BiocManager into the session. Install it if it is not already installed.
if( !require("BiocManager") ){
install.packages("BiocManager")
library("BiocManager")
}
# If there are packages that need to be installed, installs them with BiocManager
# Updates old packages.
if( length(packages_need_to_install) > 0 ) {
Expand Down

0 comments on commit 93edede

Please sign in to comment.