Skip to content
forked from drieslab/Giotto

Single-cell spatial analysis toolbox

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Bioleonard/Giotto

 
 

Repository files navigation

Giotto

The Giotto package consists of two modules, Giotto Analyzer and Viewer (see www.spatialgiotto.com), which provide tools to process, analyze and visualize single-cell spatial expression data. The underlying framework is generalizable to virtually all currently available spatial datasets. We recently demonstrated the general applicability on 10 different datasets created by 9 different state-of-the-art spatial technologies, including in situ hybridization (seqFISH+, merFISH, osmFISH), sequencing (Slide-seq, Visium, STARmap) and imaging-based multiplexing/proteomics (CyCIF, MIBI, CODEX). These technologies differ in terms of resolution (single cell vs multiple cells), spatial dimension (2D vs 3D), molecular modality (protein vs RNA), and throughput (number of cells and genes). More information and documentation about the latest (developmental) version of Giotto Analyzer can be found at https://rubd.github.io/Giotto/.

Requirements

  • R (>= 3.5.1)
  • Python (>= 3.0)
  • Windows, MacOS, Linux

Installation

See FAQs for additional information.

R installation

You can install (~1-5 mins) Giotto with:

library(remotes)  # if not installed: install.packages('remotes')
# to install the latest version
remotes::install_github("RubD/Giotto")

Python tools (optional)

This is necessary to run all available analyses, including Leiden / Louvain clustering and to build and use the interactive visualization tool. An alternative, but less flexible, R version for Louvain clustering is also available. It is advisable to install everything within a specific conda environment and specify the python path at the beginning with createGiottoInstructions() or in the R function itself when required.

Required python modules: pandas / igraph / networkx / leidenalg

pip installation one-liner:

pip3 install pandas python-igraph networkx python-louvain leidenalg

If pip install does not work, try installing within a conda environment:

conda install -c anaconda pandas
conda install -c conda-forge python-igraph
conda install -c anaconda networkx
conda install -c conda-forge python-louvain
conda install -c conda-forge leidenalg

HMRF

See HMRF installation instructions.

Giotto Viewer

pip3 install --user jsbeautifier
pip3 install --user giotto-viewer --no-cache #add --no-deps if do not wish to upgrade dependency
pip3 install --user smfish-image-processing --no-cache #add --no-deps if do not wish to upgrade dependency

 

Examples

  • see https://github.com/RubD/spatial-datasets to find raw and pre-processed input data and Giotto scripts (in progress).
  • typical run time range for the different datasets on a personal computer is around 10~45 mins.
  • click on the image and try them out yourself.

seqFISH STARmap

References

About

Single-cell spatial analysis toolbox

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 94.5%
  • Python 3.3%
  • HTML 2.0%
  • C++ 0.2%