From e1e1ec22b0bfb55e2e8b1646851a9542ce03fe8b Mon Sep 17 00:00:00 2001 From: dschaub95 Date: Thu, 18 Sep 2025 22:48:14 +0200 Subject: [PATCH 1/8] add badges --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a316fcc..f85a23b 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,20 @@ # NichePCA +[![Version](https://img.shields.io/pypi/v/nichepca)](https://pypi.org/project/nichepca/) +[![License](https://img.shields.io/pypi/l/nichepca)](https://github.com/imsb-uke/nichepca) +[![Python Version Required](https://img.shields.io/pypi/pyversions/nichepca)](https://pypi.org/project/nichepca/) +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) +[![PyPI downloads](https://img.shields.io/pepy/dt/nichepca?label=PyPI%20downloads&logo=pypi)](https://pepy.tech/project/nichepca) [![Tests][badge-tests]][link-tests] + [badge-tests]: https://img.shields.io/github/actions/workflow/status/imsb-uke/nichepca/test.yaml?branch=main [link-tests]: https://github.com/imsb-uke/nichepca/actions/workflows/test.yaml [badge-docs]: https://img.shields.io/readthedocs/nichepca -Package for PCA-based spatial domain identification in single-cell spatial transcriptomics data. The corresonding manuscript was published in [Bioinformatics](https://academic.oup.com/bioinformatics/article/41/1/btaf005/7945104?). +Package for PCA-based spatial domain identification in single-cell spatial transcriptomics data. The corresponding manuscript was published in [Bioinformatics](https://academic.oup.com/bioinformatics/article/41/1/btaf005/7945104?). ## Getting started From d1ff2d3caa15cf348c5465fb8e07feea85cb8bca Mon Sep 17 00:00:00 2001 From: dschaub95 Date: Fri, 19 Sep 2025 07:53:36 +0200 Subject: [PATCH 2/8] add classifiers --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 1caae08..929a791 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,14 @@ maintainers = [ urls.Documentation = "https://nichepca.readthedocs.io/" urls.Source = "https://github.com/imsb-uke/nichepca" urls.Home-page = "https://github.com/imsb-uke/nichepca" +classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] dependencies = [ "scanpy (>=1.11.4,<2.0.0)", "torch (>=2.8.0,<3.0.0)", From 91ed52ebc2838b063ed628482ac63be30c54bf54 Mon Sep 17 00:00:00 2001 From: dschaub95 Date: Fri, 19 Sep 2025 08:28:10 +0200 Subject: [PATCH 3/8] reorder sections --- README.md | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index f85a23b..cab14ba 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,30 @@ Package for PCA-based spatial domain identification in single-cell spatial transcriptomics data. The corresponding manuscript was published in [Bioinformatics](https://academic.oup.com/bioinformatics/article/41/1/btaf005/7945104?). +## Installation + +You need to have Python 3.10 or newer installed on your system. If you don't have +Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge) or [Miniconda](https://docs.anaconda.com/miniconda/miniconda-install/). + +To create a new conda environment with Python 3.11: + +```bash +conda create -n npc-env python=3.11 -y +conda activate npc-env +``` + +NichePCA can be installed from PyPI: + +```bash +pip install nichepca +``` + +To install the latest development version: + +```bash +pip install git+https://github.com/imsb-uke/nichepca.git@main +``` + ## Getting started