Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

Commit

Permalink
Update vignette to install SeuratData
Browse files Browse the repository at this point in the history
  • Loading branch information
agdenadel committed Mar 8, 2024
1 parent 82b0a4e commit 0c075e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vignettes/basic-usage.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ knitr::opts_chunk$set(
```{r setup}
suppressPackageStartupMessages({
library(Seurat)
library(SeuratData)
library(callback)
})
```

```{r install_SeuratData}
devtools::install_github('satijalab/seurat-data')

Check warning on line 26 in vignettes/basic-usage.Rmd

View workflow job for this annotation

GitHub Actions / run-lint

file=/github/workspace/vignettes/basic-usage.Rmd,line=26,col=26,[single_quotes_linter] Only use double-quotes.
library(SeuratData)
```

First, we use the `SeuratData` data package to first download and then load
2700 PBMCs. The loaded `SeuratObject`, `pbmc3k`, is from an old version of
`Seurat`, and so we update the object to v5.
Expand Down

0 comments on commit 0c075e9

Please sign in to comment.