Changes between Version 57 and Version 58 of SOP/scRNA-seq
- Timestamp:
- 04/23/24 14:58:21 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOP/scRNA-seq
v57 v58 14 14 For example, to load Seurat version 4, use this command: 15 15 {{{ 16 require(Seurat, lib.loc="/nfs/apps/lib/R/4.2-focal/site-library.2023q1/") 16 library(irlba, lib.loc = "/nfs/apps/lib/R/4.2-focal/site-library.2023q4") # the 'irlba' package is required by Seurat for linear algebra 17 library(Seurat, lib.loc = "/nfs/apps/lib/R/4.2-focal/site-library.2023q1") 17 18 }}} 18 19 This command directs R to use a specific library path where Seurat version 4 is installed, ensuring compatibility with older datasets or software requirements. 19 20 20 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.21 Alternatively, we could explicitly load all R packages from the last R library set to keep the package versions consistent and compatible. 21 22 {{{ 22 23 set_lib_paths <- function(lib_vec) {