Python implementation of Divisive iK-means (DiviK) algorithm.
This section will be further developed soon.
divik
- runs DiviK in one of many scenarioskmeans
- runs K-meanslinkage
- runs agglomerative clusteringinspect
- visualizes DiviK resultvisualize
- generates.png
file with visualization of clustersspectral
- generates spectral embedding of a dataset
The recommended way to use this software is through
Docker. This is the most convenient way, if you want
to use divik
application, since it requires MATLAB Compiler Runtime
and more dependencies.
To install latest stable version use:
docker pull gmrukwa/divik
To install specific version, you can specify it in the command, e.g.:
docker pull gmrukwa/divik:1.12.0
Prerequisites for installation of base package:
- Python 3.5
- functional helpers
These are required for using divik
application:
- MATLAB Compiler Runtime, version 2016b or newer, installed to default path
- compiled package with legacy code
Installation process may be clearer with insight into Docker images used for application deployment:
python_mcr
image - installs MCR r2016b onto Python 3.5 imagepython_msi
image - installs compiled legacy code onto MCR imagedivik
image - installs DiviK software onto legacy code image
Functional helpers should be installed with:
pip install git+https://github.com/gmrukwa/functional-helpers.git@2e68a8801f894a14601d70db76086ada723bac35#egg=functional_helpers
Having prerequisites installed, one can install latest base version of the package:
pip install git+https://github.com/spectre-team/spectre-divik.git@master#egg=spectre-divik
or any stable tagged version, e.g.:
pip install git+https://github.com/spectre-team/spectre-divik.git@v1.12.0#egg=spectre-divik
Installation of divik
program dependencies can be validated via:
pip install git+https://github.com/spectre-team/spectre-divik.git@master#egg=spectre-divik[divik]
Note: Using zsh you may need to escape square brackets with \
If you want to take advantage of using Quilt for data management, you can install also this extra:
pip install git+https://github.com/spectre-team/spectre-divik.git@master#egg=spectre-divik[quilt_packages]
This software is part of contribution made by Data Mining Group of Silesian University of Technology, rest of which is published here.
- P. Widlak, G. Mrukwa, M. Kalinowska, M. Pietrowska, M. Chekan, J. Wierzgon, M. Gawin, G. Drazek and J. Polanska, "Detection of molecular signatures of oral squamous cell carcinoma and normal epithelium - application of a novel methodology for unsupervised segmentation of imaging mass spectrometry data," Proteomics, vol. 16, no. 11-12, pp. 1613-21, 2016
- M. Pietrowska, H. C. Diehl, G. Mrukwa, M. Kalinowska-Herok, M. Gawin, M. Chekan, J. Elm, G. Drazek, A. Krawczyk, D. Lange, H. E. Meyer, J. Polanska, C. Henkel, P. Widlak, "Molecular profiles of thyroid cancer subtypes: Classification based on features of tissue revealed by mass spectrometry imaging," Biochimica et Biophysica Acta (BBA)-Proteins and Proteomics, 2016
- G. Mrukwa, G. Drazek, M. Pietrowska, P. Widlak and J. Polanska, "A Novel Divisive iK-Means Algorithm with Region-Driven Feature Selection as a Tool for Automated Detection of Tumour Heterogeneity in MALDI IMS Experiments," in International Conference on Bioinformatics and Biomedical Engineering, 2016