Rectangle

Tests Documentation

Rectangle is an open-source Python package for single-cell-informed cell-type deconvolution of bulk and spatial transcriptomic data, which is part of the scverse ecosystem.

Rectangle presents a novel approach to second-generation deconvolution, characterized by hierarchical signature building for fine-grained cell-type deconvolution, estimation and correction of unknown cellular content, and efficient handling of large-scale single-cell data during signature matrix computation.

Rectangle was developed to overcome the current challenges in cell-type deconvolution, providing a robust and accurate methodology while ensuring a low computational profile.

Getting started

Please refer to the documentation. In particular, the

Installation

You need Python 3.10–3.12 installed on your system.

How to install Rectangle:

Install the latest release of Rectangle from PyPI https://pypi.org/project/rectanglepy/:

pip install rectanglepy

License

Rectangle is dual-licensed: BSD-3-Clause OR Commercial.

Open-source option: BSD-3-Clause

You may use, modify, and redistribute Rectangle, including in proprietary products, if you keep the copyright and license notices and do not use the authors’ names for endorsement.

See LICENSE.

Commercial option

For alternative terms, such as warranties, indemnities, dedicated support, SLAs, or redistribution without BSD notice requirements, contact innovation-psb@uibk.ac.at.

See LICENSE-Commercial.md.

Release notes

See the changelog.

Contact

If you found a bug, please use the issue tracker.

For commercial licensing: innovation-psb@uibk.ac.at

Citation

If you use Rectangle in your project, please cite: (TBA)