WaveFactor (formerly WaviFM) is a Bayesian factor modeling framework for spatial transcriptomics that explicitly models spatial length scales by performing Coordinate Ascent Variational Inference (CAVI) directly on 2D Discrete Wavelet Transform (DWT) coefficients.
Please refer to the documentation for installation, code snippets, examples, etc.
Run both the compiled C++ and Python test suite with the command:
# Run ALL tests (automatically compiles/checks C++ targets)
python tests/run_all_tests.pyOptions:
python tests/run_all_tests.py --verbose: Verbose test output.python tests/run_all_tests.py -v: Verbose test output (same as--verboseflag).
docs/: Documentation filesdev/: Developer filesexamples/: Example scriptslib: External librariessrc/: C++ CAVI engine source filestest/: C++ testing suitetests/: Python test suitewavefactor/: Python package