Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Woollard authored and Max Woollard committed Nov 6, 2024
1 parent 900bbc4 commit 22027f3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions vignettes/.Rhistory
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
rcmdcheck::rcmdcheck
rcmdcheck::rcmdcheck()
?wSIR::exploreWSIRParams
rcmdcheck::rcmdcheck()
rprojroot::is_testthat
rprojroot::is_testthat()
?rprojroot::is_testthat
rprojroot::is_BioCAsia_2024_wSIR
is_testthat
is_testthat()
here::i_am()
6 changes: 3 additions & 3 deletions vignettes/wSIR_workshop.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ they come from opposite sides of the tissue). wSIR uses a weight matrix to
incorporate the spatial correlation between all pairs of cells in the SIR
algorithm. This matrix has dimension H*H, where H is the number of tiles,
and the (i,j)th entry represents the distance between tiles i and j. This
matrix is incorporated into the eigendeomposition step. The wSIR output has the
matrix is incorporated into the eigendecomposition step. The wSIR output has the
same structure as the SIR output.

## Method demonstration
Expand Down Expand Up @@ -335,7 +335,7 @@ wsir_obj <- wSIR::wSIR(X = exprs3,

## wSIR application: interpretability

The wSIR package includes some functions to give an insight into what biological information the method is using. These functions are firstly for interpretability, so you can understand which genes are the most important for the low-dimensional space. Secondly, these functions couldd be used to give more biological understanding, as you can find how genes impact and are impacted by the spatially-aware low-dimensional embedding.
The wSIR package includes some functions to give an insight into what biological information the method is using. These functions are firstly for interpretability, so you can understand which genes are the most important for the low-dimensional space. Secondly, these functions could be used to give more biological understanding, as you can find how genes impact and are impacted by the spatially-aware low-dimensional embedding.

### wSIR Top Genes

Expand Down Expand Up @@ -434,7 +434,7 @@ exprs1_projected <- projectWSIR(wsir = wsir_obj, newdata = exprs1)
dim(exprs1_projected)
```

From just that line, you can now apply downstream analysis to this low-dimensional embedding of embryo 1's gene exprssion data.
From just that line, you can now apply downstream analysis to this low-dimensional embedding of embryo 1's gene expression data.

Here, we will show how this method can be applied to Tangram, a popular deep-learning-based spatial alignment method. Tangram is available here: https://www.nature.com/articles/s41592-021-01264-7 .

Expand Down

0 comments on commit 22027f3

Please sign in to comment.