Skip to main content

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

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.2.1 (2020-05-26)

0.2.0 (2020-05-26)

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.

Download files

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

Source Distribution

stlearn-0.2.1.tar.gz (19.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stlearn-0.2.1-py2.py3-none-any.whl (100.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file stlearn-0.2.1.tar.gz.

File metadata

  • Download URL: stlearn-0.2.1.tar.gz
  • Upload date:
  • Size: 19.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for stlearn-0.2.1.tar.gz
Algorithm Hash digest
SHA256 18f4812e1c244b6411801c841c08bb99c3d84ec874d4bfdeb727045eaeebd17a
MD5 7407dfb15a39956894a3e5499ea8129d
BLAKE2b-256 02bfbe583073d3bf10ec04432b451153dd445a07cf19b0569357953249e6d1ea

See more details on using hashes here.

File details

Details for the file stlearn-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: stlearn-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 100.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for stlearn-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b71223f6927d9e398abfdd92f5f8f6f63760303ebd4b00498b21a50f6a5d244
MD5 055ab9ef9ff6b0159c4cc6460b61adc5
BLAKE2b-256 d7b4e980b3bcdde8f5dc0a5cc14802690493f7f5f9aa0aa8320e4d45f17ecc51

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.2

2 files

1.1.5

2 files

1.1.1

2 files

0.4.12

2 files

0.4.11

3 files

0.4.10

3 files

0.4.9

3 files

0.4.8

4 files

0.4.7

3 files

0.4.6

2 files

0.4.5

2 files

0.4.0

3 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

1 file

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.9

2 files

0.1.8

3 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page