| 3 | |
| 4 | === Load appropriate version of the Seurat package === |
| 5 | |
| 6 | As of April 18, 2024, the default version of Seurat available on fry/RStudio is v5.0.1. |
| 7 | |
| 8 | To use Seurat version 5, enter the following command in R: |
| 9 | {{{ |
| 10 | library(Seurat) |
| 11 | }}} |
| 12 | In some instances, certain software may only be compatible with older versions of Seurat, or you might need to run analyses on Seurat objects created with earlier versions. In these cases, you can load an earlier version of Seurat by specifying the library location. |
| 13 | |
| 14 | For example, to load Seurat version 4, use this command: |
| 15 | {{{ |
| 16 | require(Seurat, lib.loc="/nfs/apps/lib/R/4.2-focal/site-library.2023q1/") |
| 17 | }}} |
| 18 | This command directs R to use a specific library path where Seurat version 4 is installed, ensuring compatibility with older datasets or software requirements. |