Changes between Version 26 and Version 27 of FAQ
- Timestamp:
- 04/23/24 14:56:39 (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v26 v27 245 245 * For example, to load Seurat version 4, use this command: 246 246 {{{ 247 require(Seurat, lib.loc="/nfs/apps/lib/R/4.2-focal/site-library.2023q1/") 247 library(irlba, lib.loc = "/nfs/apps/lib/R/4.2-focal/site-library.2023q4") # the 'irlba' package is required by Seurat for linear algebra 248 library(Seurat, lib.loc = "/nfs/apps/lib/R/4.2-focal/site-library.2023q1") 248 249 }}} 249 250 * This command directs R to use a specific library path where Seurat version 4 is installed, ensuring compatibility with older datasets or software requirements. 250 * However, sometimes Seurat may depend on other R packages to run certain functions, in that case, only loading the older version of Seurat may not work. Instead, we could explicitly load all R packages from the last R library set to keep the packagescompatible.251 * Alternatively, we could explicitly load all R packages from the last R library set to keep the package versions consistent and compatible. 251 252 {{{ 252 253 set_lib_paths <- function(lib_vec) { … … 269 270 270 271 272