From c243850b7732ce2aada809d904ddd0579b2e171f Mon Sep 17 00:00:00 2001 From: Nick-Eagles Date: Fri, 26 Jul 2024 11:37:57 -0400 Subject: [PATCH] Address several pieces of #3 in the vignette --- vignettes/visiumStitched.Rmd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vignettes/visiumStitched.Rmd b/vignettes/visiumStitched.Rmd index dea7cc6..a293555 100644 --- a/vignettes/visiumStitched.Rmd +++ b/vignettes/visiumStitched.Rmd @@ -144,7 +144,7 @@ sample_info$spaceranger_dir <- file.path( sample_info ``` -# Preparing Images for Fiji +# Preparing Inputs to Fiji The `visiumStitched` workflow makes use of [Fiji](https://imagej.net/software/fiji/), a distribution of the `ImageJ` image-processing software, which includes an interface for @@ -170,13 +170,15 @@ sample_info # Building a `SpatialExperiment` +## Stitching Images with Fiji + Before building a `SpatialExperiment` for a stitched dataset, we must align the images for each group in Fiji. Check out [this video](https://www.youtube.com/watch?v=kFLtpK3qbSY) for a guide through this process with the example data. -## Parsing Outputs from Fiji +## Creating Group-Level Samples From the Fiji alignment, two output files will be produced: an `XML` file specifying rigid affine transformations for each @@ -296,7 +298,7 @@ variation across spots can bias the apparent distribution. Later, we'll show tha normalization is critical to producing a visually seamless transition between overlapping capture areas. -## Array coordinates +## Defining Array Coordinates Given that the stitched data is larger than a default Visium capture area, `add_array_coords()` (which is used internally by `build_spe()`) recomputed the array coordinates (i.e. `spe$array_row` and `spe$array_col`) to more sensibly index the stitched data.