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
Metadata
Release files for vampire-analysis 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vampire_analysis-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for vampire_analysis-0.0.1-py3-none-any.whl |
Release files / vampire_analysis-0.0.1-py3-none-any.whl
| Download URL | vampire_analysis-0.0.1-py3-none-any.whl |
|---|---|
| Size | 37.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6cf4e81c39b111c5db0fa1c075751d66e00315ec99026b4d538d7b5a235d270
|
|
BLAKE2b-256 checksum How to use checksums |
242759be49ed3a72f6ff181ee6b3ded3c3152bb7ce9eb0e5334330bd3623ed9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for vampire-analysis 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.