You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+15-17
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,22 @@
1
1
# PASTE
2
2
3
3
PASTE is a computational method that leverages both gene expression similarity and spatial distances between spots align and integrate spatial transcriptomics data. In particular, there are two methods:
4
-
1.`pairwise_align`: align spots across pairwise ST layers.
5
-
2.`center_align`: integrate multiple ST layers into one center layer.
4
+
1.`pairwise_align`: align spots across pairwise slices.
5
+
2.`center_align`: integrate multiple slices into one center slice.
6
6
7
7
You can read our preprint [here](https://www.biorxiv.org/content/10.1101/2021.03.16.435604v1).
8
8
9
9
PASTE is actively being worked on with future updates coming.
10
10
11
+
### Recent News
12
+
13
+
As of version 1.1.0, PASTE now runs on AnnData making it very easy to integrate with Scanpy for better downstream analysis. Hooray!
14
+
11
15
### Dependencies
12
16
13
17
To run PASTE, you will need the following Python packages:
14
18
1. POT: Python Optimal Transport (https://PythonOT.github.io/)
Next, when providing files, you will need to provide two separate files: the gene expression data followed by spatial data (both as .csv) for the code to initialize one slice object.
Where the columns indexes are gene names (str), row indexes are spatial coordinates (str), and entries are gene counts (int). In particular, row indexes are of the form `AxB` where `A` and `B` are floats.
62
-
63
-
`pairwise_align` outputs a (.csv) file containing mapping of spots between each consecutive pair of layers. The rows correspond to spots of the first layer, and cols the second.
61
+
`pairwise_align` outputs a (.csv) file containing mapping of spots between each consecutive pair of slices. The rows correspond to spots of the first slice, and cols the second.
64
62
65
-
`center_align` outputs two files containing the low dimensional representation (NMF decomposition) of the center layer gene expression, and files containing a mapping of spots between the center layer (rows) to each input layer (cols).
63
+
`center_align` outputs two files containing the low dimensional representation (NMF decomposition) of the center slice gene expression, and files containing a mapping of spots between the center slice (rows) to each input slice (cols).
66
64
67
65
### Sample Dataset
68
66
69
-
Added sample spatial transcriptomics dataset consisting of four breast cancer layers courtesy of:
67
+
Added sample spatial transcriptomics dataset consisting of four breast cancer slice courtesy of:
70
68
71
69
Ståhl, Patrik & Salmén, Fredrik & Vickovic, Sanja & Lundmark, Anna & Fernandez Navarro, Jose & Magnusson, Jens & Giacomello, Stefania & Asp, Michaela & Westholm, Jakub & Huss, Mikael & Mollbrink, Annelie & Linnarsson, Sten & Codeluppi, Simone & Borg, Åke & Pontén, Fredrik & Costea, Paul & Sahlén, Pelin Akan & Mulder, Jan & Bergmann, Olaf & Frisén, Jonas. (2016). Visualization and analysis of gene expression in tissue sections by spatial transcriptomics. Science. 353. 78-82. 10.1126/science.aaf2403.
0 commit comments