stLearn - a downstream analysis toolkit for Spatial Transcriptomics data¶

stLearn is designed to comprehensively analyse Spatial Transcriptomics (ST) data to investigate complex biological processes within an undissociated tissue. ST is emerging as the “next generation” of single-cell RNA sequencing because it adds spatial and morphological context to the transcriptional profile of cells in an intact tissue section. However, existing ST analysis methods typically use the captured spatial and/or morphological data as a visualisation tool rather than as informative features for model development. We have developed an analysis method that exploits all three data types: Spatial distance, tissue Morphology, and gene Expression measurements (SME) from ST data. This combinatorial approach allows us to more accurately model underlying tissue biology, and allows researchers to address key questions in three major research areas: cell type identification, cell trajectory reconstruction, and the study of cell-cell interactions within an undissociated tissue sample.
We also published stLearn-interactive which is a python-based interactive website for working with all the functions from stLearn and upgrade with some bokeh-based plots.
To run the stlearn interaction webapp in your local, run:
stlearn launch
New features¶
In the new release, we provide the interactive plots:

Latest additions¶
0.4.0 2022-02-03¶
Feature
Upgrade stSME, PSTS and CCI analysis methods.
Add CCI analysis functions:
load_lrs()
,grid()
,run()
,adj_pvals()
,run_lr_go()
,lr_summary()
,lr_diagnostics()
,lr_n_spots()
,lr_go()
,lr_result_plot()
,lr_plot()
,cci_check()
,ccinet_plot()
,lr_chord_plot()
,lr_cci_map()
,cci_map()
,lr_plot_interactive()
,spatialcci_plot_interactive()
0.3.2 2021-03-29¶
Feature
Add interactive plotting functions:
gene_plot_interactive()
,cluster_plot_interactive()
,het_plot_interactive()
Add basic unittest (will add more in the future).
Add ‘contour’ parameter to use contour plot in
gene_plot()
andhet_plot()
.Add
convert_scanpy()
to convert object from scanpy to stLearn.
Bug fixes
Refactor
gene_plot()
Refactor
cluster_plot()
Refactor
het_plot()
Fixed issue with networkx object cannot write h5ad file.