VAMPIRE (Visually Aided Morpho-Phenotyping Image Recognition) analysis quantifies and visualizes heterogeneity of cell and nucleus morphology.
Project description
vampire-analysis
VAMPIRE (Visually Aided Morpho-Phenotyping Image Recognition) analysis quantifies and visualizes heterogeneity of cell and nucleus morphology [1]. It is used widely in analyzing microglial shape change in response to oxygen-glucose deprivation [2] and morphological changes in cancer metastasis [3].
vampire-analysis provides a reproducible, fully-documented, and easy-to-use Python package that is based on the method and software used the in vampireanalysis GUI [1]. Main advantages include:
- operating-system-independent package API
- full documentation with easy-to-read code
- flexible input and filtering options
- flexible plotting options
Installation
See documentation for detailed installation guide. If Python is installed on your machine, type the following line into your command prompt to install via PyPI:
pip install vampire-analysis
Getting started
See documentation for detailed guide for basics of building and applying models. If you have build.xlsx under C:\vampire containing the build image set information, you can build the model with
>>> import pandas as pd # used to read excel files
>>> import vampire as vp # recommended import signature
>>> build_df = pd.read_excel(r'C:\vampire\build.xlsx')
>>> vp.model.build_models(build_df, random_state=1)
If you have apply.xlsx under C:\vampire containing the apply image set information, you can apply the model with
>>> apply_df = pd.read_excel(r'C:\vampire\apply.xlsx')
>>> vp.model.apply_models(apply_df)
Flexible options are provided for building and applying models in the advanced section in the documentation.
References
[1] Phillip, J.M., Han, KS., Chen, WC. et al. A robust unsupervised machine-learning method to quantify the morphological heterogeneity of cells and nuclei. Nat Protoc 16, 754–774 (2021). https://doi.org/10.1038/s41596-020-00432-x
[2] Joseph, A, Liao, R, Zhang, M, et al. Nanoparticle-microglial interaction in the ischemic brain is modulated by injury duration and treatment. Bioeng Transl Med. 2020; 5:e10175. https://doi.org/10.1002/btm2.10175
[3] Wu, PH., Phillip, J., Khatau, S. et al. Evolution of cellular morpho-phenotypes in cancer metastasis. Sci Rep 5, 18437 (2016). https://doi.org/10.1038/srep18437
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vampire_analysis-0.0.1-py3-none-any.whl.
File metadata
- Download URL: vampire_analysis-0.0.1-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6cf4e81c39b111c5db0fa1c075751d66e00315ec99026b4d538d7b5a235d270
|
|
| MD5 |
856a83d0ef4666357e100fd34c31bd08
|
|
| BLAKE2b-256 |
242759be49ed3a72f6ff181ee6b3ded3c3152bb7ce9eb0e5334330bd3623ed9e
|