Skip to content

Commit

Permalink
Make 'spe_to_seurat()' example faster by running on smaller subsets o…
Browse files Browse the repository at this point in the history
…f data
  • Loading branch information
Nick-Eagles committed Aug 23, 2024
1 parent 79b3a14 commit 46bc9d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/spe_to_seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#' ## Download some example data
#' spe_unstitched <- spatialLIBD::fetch_data(
#' type = "spatialDLPFC_Visium_example_subset"
#' )
#' )[seq(100), seq(100)]
#'
#' ## Make the column names unique
#' colnames(spe_unstitched) <- spatialLIBD::add_key(spe_unstitched)$key
Expand All @@ -44,7 +44,7 @@
#' if (!exists("spe")) {
#' spe <- spatialLIBD::fetch_data(type = "visiumStitched_brain_spe")
#' }
#' seur_stitched <- spe_to_seurat(spe)
#' seur_stitched <- spe_to_seurat(spe[seq(100), seq(100)])
#'
#' ## Let's look at our resulting Seurat object
#' seur_stitched
Expand Down
4 changes: 2 additions & 2 deletions man/spe_to_seurat.Rd

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

0 comments on commit 46bc9d5

Please sign in to comment.