Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.
/ spectre Public archive

This project provides an Spectre's implementation of Data Mining Group's algorithms for processing mass spectrometry imaging (MSI) datasets.

License

Notifications You must be signed in to change notification settings

spectre-team/spectre

Repository files navigation

Spectre

Spectre

Spectre is a versatile tool used for analysis of MALDI-MSI data sets.

For the sake of simplicity, the toolset provided is available to be used through web application interface, which is currently a work-in-progress.

In order to build and run the application, please refer to the installation section.

About

The project is currently in its early stage. However, it comprises the implementation of our own spectra modelling based on Gaussian Mixture Models, and Divisive IK-means algorithm for unsupervised segmentation, which can be used for efficient dataset compression, as well as for knowledge discovery. Aformentioned algorithms have already been published and refering links have been enclosed under references section.

Also, several classification and clusterization methods will be provided soon, along with supporting statistics.

Install

Spectre service & web application

The Web service is all the time available here. If you still would like to host it yourself, please contact us by e-mail. We will provide you with exhaustive explanation.

Exemplary usage

Spectre service & web application

The application is available online here.

Right now, our web application allows only for an interactive visualization of some of the data we were using in the research, along with Divisive Intelligent K-means algorithm results. More features will get documented when they appear.

How to contribute?

Please contact us by e-mail. We will answer you in details.

Short contribution guide is actively constructed on the project's wiki as the development progresses.

Angular

This project was generated with Angular CLI version 1.0.0-rc.2.

Installation

In order to install Angular CLI, please run scripts/InstallNodeDev.ps1 using Windows Powershell. If the script doesn't have permission to run, please execute Set-ExecutionPolicy Unrestricted command to enable running scripts from Powershell, run InstallNodeDev.ps1, and finish with Set-ExecutionPolicy Restricted (default value) if you will.

Troubleshooting:

  • If nodejs.msi couldn't have been successfully downloaded and installed, please install it manually and the rest of the script should run just fine.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

If calling ng serve causes errors regarding uninstalled packages, please delete src\Spectre.Angular2Client\node_modules directory, enter src\Spectre.Angular2Client\ and run npm install.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

References

This software is part of contribution made by Data Mining Group of Silesian University of Technology, rest of which is published here.