Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Seurat and ggplot compatibility #95

Merged
merged 7 commits into from
Nov 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restrict vignette section to Seurat >= 5.0.0
  • Loading branch information
lazappi committed Nov 5, 2023
commit fffdfde3d31f5fa9f354cb1139aa438bdaa8db40
4 changes: 2 additions & 2 deletions vignettes/clustree.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ clustree(sce, prefix = "sc3_", suffix = "_clusters")

```{r seurat-present, echo = FALSE}
seurat_present <- requireNamespace("Seurat", quietly = TRUE) &&
packageVersion("Seurat") >= package_version(x = "3.0.0")
packageVersion("Seurat") >= package_version(x = "5.0.0")
```

```{r seurat-not, echo = FALSE, results = 'asis', eval = !seurat_present}
cat("> **NOTE:** This section requires the Seurat package (>= 3.0.0).",
cat("> **NOTE:** This section requires the Seurat package (>= 5.0.0).",
"This package isn't installed so the results won't be shown.")
```

Expand Down