Changes between Version 57 and Version 58 of SOP/scRNA-seq


Ignore:
Timestamp:
04/23/24 14:58:21 (9 months ago)
Author:
xinlei.gao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOP/scRNA-seq

    v57 v58  
    1414For example, to load Seurat version 4, use this command:
    1515{{{
    16 require(Seurat, lib.loc="/nfs/apps/lib/R/4.2-focal/site-library.2023q1/")
     16library(irlba, lib.loc = "/nfs/apps/lib/R/4.2-focal/site-library.2023q4") # the 'irlba' package is required by Seurat for linear algebra
     17library(Seurat, lib.loc = "/nfs/apps/lib/R/4.2-focal/site-library.2023q1")
    1718}}}
    1819This command directs R to use a specific library path where Seurat version 4 is installed, ensuring compatibility with older datasets or software requirements.
    1920
    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 packages compatible.
     21Alternatively, we could explicitly load all R packages from the last R library set to keep the package versions consistent and compatible.
    2122{{{
    2223set_lib_paths <- function(lib_vec) {