Amy Campbell, 2016
staNMF
Python 2.7 implementation of Siqi Wu et al.’s 2016 stability NMF (staNMF)
Package Contents
staNMF.py
staNMF.py class includes the necessary methods to perform stability NMF on a user-specified .csv datase (see sourcecode/staNMF_Example for precise usage instructions)
staNMF_Example.py
Example of staNMF demonstrated on Wu et al.’s 2016 drosophila spatial expression data between K=15 and K=30; Generates sample factorizations, calculates instability index, and plots instability against K
staNMF_driver.py
Driver script to run staNMF in parallel; can be called from the command line using: python staNMF_driver.py <k1> <k2> <reps1> <reps2> <folder> <filename> <function> (See docstring for more specific instructions)
data/WuExampleExpression.csv
sample dataset (also available for download here)
Installation
$ pip install staNMF
Please note that staNMF requires SPAMs package (version 2.5), which is available from Julien Mairal et al. , or from Anaconda using:
$ conda install -c conda-forge python-spams=2.5
Acknowledgements
This work was supported by The Gordon and Betty Moore Foundation’s Data-Driven Discovery Initiative (GBMF 4552 to C.S.G.) and a grant from the National Institutes of Health (R01 CA200854)
Metadata
Release files for staNMF 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| staNMF-1.1.tar.gz | 5.4 MB | Without provenance | Details for staNMF-1.1.tar.gz |
Release files / staNMF-1.1.tar.gz
| Download URL | staNMF-1.1.tar.gz |
|---|---|
| Size | 5.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6824eb0ef9a82005208eaac3563c00bf19a91b8eb3eb18ab8972e9f5135cf575
|
|
BLAKE2b-256 checksum How to use checksums |
9175e984b31b4f902646bff1675df4cc391ab84f51464be3fd239509cddbafee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for staNMF 1.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.