Skip to main content

A downstream analysis toolkit for Spatial Transcriptomic data

Project description

# stLearn - A downstream analysis toolkit for Spatial Transcriptomic data (v0.1.8)

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.

<p align=”center”> <img src=”https://i.imgur.com/yfXlCYO.png” alt=”” width=”386” height=”261” /> </p>

## Detailed tutorials:

For installation and implementation of stLearn functionalities, see the dedicated documentation page at: https://stlearn.readthedocs.io/en/latest/

A collection of Jupyter notebooks are available in this repository in the tutorial folder

## Brief installation instructions are below:

### For Linux/MacOS users

#### Step 1:

Prepare conda environment for stlearn

` conda create -n stlearn python=3.8 `

` conda activate stlearn `

#### Step 2:

` conda config --add channels conda-forge `

` conda install jupyterlab louvain ipywidgets`

#### Step 3:

` pip install stlearn`

### For Windows users

#### Step 1:

Prepare conda environment for stlearn

` conda create -n stlearn python=3.8 `

` conda activate stlearn `

#### Step 2:

` conda install jupyterlab ipywidgets`

#### Step 4 (For Windows user):

Access to:

Download 2 files: python_igraph‑0.7.1.post6‑cp37‑cp37m‑win_amd64.whl and louvain‑0.6.1‑cp37‑cp37m‑win_amd64.whl

You have to change to downloaded files directory and install it:

` pip install python_igraph‑0.7.1.post6‑cp37‑cp37m‑win_amd64.whl `

` pip install louvain‑0.6.1‑cp37‑cp37m‑win_amd64.whl `

#### Step 4:

` pip install stlearn`

### Popular bugs when install

  • DLL load failed while importing utilsextension: The specified module could not be found.

You need to uninstall package tables and install it again

` pip uninstall tables `

` pip install tables `

History

0.1.9 (2020-05-25)

0.1.8 (2020-05-21)

0.1.7 (2020-03-20)

0.1.6 (2020-01-31)

0.1.5 (2020-01-31)

0.1.4 (2020-01-30)

0.1.3 (2020-01-30)

0.1.2 (2020-01-30)

0.1.1 (2020-01-30)

0.1.0 (2020-01-30)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stlearn, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size stlearn-0.1.9-py2.py3-none-any.whl (99.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size stlearn-0.1.9.tar.gz (19.4 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page