Skip to content

Commit

Permalink
Remove ggspavis usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jleechung committed Apr 9, 2024
1 parent 16f7ea2 commit 0789bde
Show file tree
Hide file tree
Showing 15 changed files with 111 additions and 33 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Banksy
Title: Spatial transcriptomic clustering
Version: 0.99.9
Version: 0.99.10
Authors@R: c(
person(given = "Vipul",
family = "Singhal",
Expand Down Expand Up @@ -51,7 +51,6 @@ Suggests:
scran,
cowplot,
ggplot2,
ggspavis,
testthat (>= 3.0.0),
harmony,
Seurat,
Expand Down
6 changes: 5 additions & 1 deletion R/misc.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
#' rings <- simulateDataset(n_cells = 5e3, n_genes = 50, n_rings = 8)
#' rings
#' table(rings$cluster)
#' ggspavis::plotSpots(rings, annotate = "cluster", size = 2)
#' df <- cbind.data.frame(
#' SummarizedExperiment::colData(rings),
#' SpatialExperiment::spatialCoords(rings))
#' library(ggplot2)
#' ggplot(df, aes(x=x, y=y, col=cluster)) + geom_point() + theme_classic()
#'
simulateDataset <- function(n_cells = 300,
n_genes = 30,
Expand Down
20 changes: 16 additions & 4 deletions docs/articles/batch-correction.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/articles/figures/batch-correction-spatial-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/figures/multi-sample-spatial-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0789bde

Please sign in to comment.