Skip to main content

Neighbor-based normalization of CITE-seq data

Project description

KNN normalization

Tests Documentation

Background and motivation

KNN normalization is a normalization method for protein counts in CITE-seq data. KNN normalization learns from neighbor cells in a KNN graph in order to estimate the appropriate total protein counts in each cell, accurately estimating total protein counts while preserving biological information.

Installation

Install the latest release of KNN_normalization from PyPI:

pip install KNN_normalization

Basic usage

import scanpy as sc
import knn_normalization as knn

# Load your CITE-seq data
adata = sc.read_h5ad("path/to/your/data.h5ad")

# Run KNN normalization (modifies adata in place)
knn.tl.knn_normalize(adata)

Documentation

Please refer to the documentation, in particular, the documentation of the knn_normalize() function.

Installing the Development Version (optional)

If you need the latest unreleased features or bug fixes:

pip install git+https://github.com/javier-marchena-hurtado/KNN_normalization.git@main

Release notes

See the changelog.

Contact

For questions and help requests, please open a discussion on GitHub. If you found a bug, please use the issue tracker.

Citation

t.b.a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knn_normalization-0.1.1.tar.gz (376.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

knn_normalization-0.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file knn_normalization-0.1.1.tar.gz.

File metadata

  • Download URL: knn_normalization-0.1.1.tar.gz
  • Upload date:
  • Size: 376.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for knn_normalization-0.1.1.tar.gz
Algorithm Hash digest
SHA256 777262cfbd8f848b5147b8d7e4202bd194c1fb81e68aff75f679743b71af5488
MD5 383868ee93343f7c22da0553fb9d7960
BLAKE2b-256 e276bcbde5c0fb27081fbbbdb828c3b4e4452cc534d6894c56ddc8845012eb7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_normalization-0.1.1.tar.gz:

Publisher: release.yaml on javier-marchena-hurtado/KNN_normalization

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file knn_normalization-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for knn_normalization-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c7e121cdb4b28fb5c2d35e4608cd18b90b9cfaa6c3e88635a58182759344f2
MD5 963c64ccf7556089b7735e0481279e4d
BLAKE2b-256 ce3fc957dad25d28b647b63a089734c339aa19814c2c3e9105335ea3949d3fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for knn_normalization-0.1.1-py3-none-any.whl:

Publisher: release.yaml on javier-marchena-hurtado/KNN_normalization

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page