| Author | MOEHLIN Julien (Github, Gitlab) |
| Author | MOLLET Bastien |
| Author | COLOMBO Bruno Maria |
| Author | MENDOZA PARRA Marco (Github) |
| Team | SysFate |
| mmendoza@genoscope.cns.fr |
- The tool now detect automaticaly if the data are interstitial
- Fixed pattern detection in case of interstitial data
- Added a script to increase the number of pixels
- Improved several graphical elements
Inspired by contextual pixel classification strategies applied to image analysis, we have developed MULTILAYER, allowing to stratify spatially-resolved transcriptome maps into functionally-relevant molecular substructures. For this, MULTILAYER applies agglomerative clustering within contiguous locally-defined transcriptomes (herein defined as gene expression elements or gexels), combined with community detection methods for graph partitioning.
Launch :
python3 Multilayer.pypip install numpypip install matplotlibpip install pandaspip install scipypip install scikit-learnpip install seabornpip install networkxpip install python-louvainpip install pillowpip install louvainpip install scanpyif you use conda :
conda install -c conda-forge scanpy python-igraph leidenalgWe developed module for compress data. Multilayer compressor is able to merge several gexels in one big gexel.
Launch :
python3 Multilayer_Compressor.py -i input.tsv -o output.tsv -cx 100 -cy 100pip install numpypip install pandasWe developed module for extend data. Multilayer expander is able to divide one gexel into several gexels. n is the number of expansion.
Launch :
python3 multilayer-expander.py -n 1pip install pandasYou need cellranger of 10xgenomics, as well as the datasets provided by the Visium platform; namely the matrix in h5 format (Feature / cell matrix HDF5), the feature information files (Feature / cell matrix), the spatial information data (Spatial imaging data), as well as our specialized script “visium converter.py” (dependencies: pandas package).
First, use this command on “cellranger” to convert the h5 matrix to csv format:
./bin/cellranger mat2csv Feature/cell matrix_HDF5.h5 out_file_matrix.csv
Then, use our python script “visiumConverter.py” as following:
python3 visiumConverter.py -m out_file_matrix.csv -p spatial/tissue_positions_list.csv -g raw_feature_bc_matrix/features.tsv.gz -o matrix_multilayer.tsv –compressorpip install pandasA converter for Enrichr libraries. Once the library converted, you have to place it in the directory called 'GO DB'.
Launch :
python3 enrichr_converter.py -i input.tsvpip install pandasAll data available : (Article - data)
Multilayer tutorial

