Skip to content

Commit

Permalink
Add back 'eval = FALSE' to allow GHA to reach unit tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Jul 16, 2024
1 parent e6fbefc commit 83fd573
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions vignettes/full_demo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ plots. In particular, at regions of overlap, spots from capture areas with highe
average UMI (unique molecular identifier) counts will be plotted, while any other
spots will not be shown.

```{r "build_spe"}
```{r "build_spe", eval = FALSE}
spe = build_spe(sample_info, coords_dir = spe_input_dir)
```

Expand All @@ -173,7 +173,7 @@ given spot, or the empty string otherwise. This vignette won't cover the potenti
of this information, but one possibility is to perform clustering and check how frequently
overlapping spots are assigned the same cluster.

```{r "exclude_overlapping"}
```{r "exclude_overlapping", eval = FALSE}
table(spe$exclude_overlapping)
```

Expand All @@ -188,7 +188,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.

```{r "explore_coords"}
```{r "explore_coords", eval = FALSE}
wm_genes = rownames(spe)[
match(c("MBP", "GFAP", "PLP1", "AQP4"), rowData(spe)$symbol)
]
Expand All @@ -208,7 +208,7 @@ stitched capture area has the same exact array coordinates, despite having diffe
positions after stitching. We'll take in-tissue spots only and use transparency to emphasize
the overlap among capture areas:

```{r "array_plot_orig"}
```{r "array_plot_orig", eval = FALSE}
colData(spe) |>
as_tibble() |>
filter(in_tissue) |>
Expand All @@ -230,7 +230,7 @@ the array coordinates, like
clustering with `BayesSpace` or `PRECAST`, to treat each group as a spatially continuous
sample.

```{r "array_plot_after"}
```{r "array_plot_after", eval = FALSE}
colData(spe) |>
as_tibble() |>
filter(in_tissue) |>
Expand All @@ -247,14 +247,14 @@ colData(spe) |>
As a `SpatialExperiment`, the stitched data may be rotated or mirrored by group, such as with
the `SpatialExperiment::rotateObject()` or `SpatialExperiment::mirrorObject()` functions.

```{r "rotate"}
```{r "rotate", eval = FALSE}
vis_gene(
rotateObject(spe, sample_id = 'Br2719', degrees = 90),
geneid = wm_genes, assayname = 'counts', is_stitched = TRUE
)
```

```{r "mirror"}
```{r "mirror", eval = FALSE}
vis_gene(
mirrorObject(spe, sample_id = 'Br2719', axis = "v"),
geneid = wm_genes, assayname = 'counts', is_stitched = TRUE
Expand Down

0 comments on commit 83fd573

Please sign in to comment.