Skip to main content

A collection of utility functions for data analysis

Project description

sbmutils

A collection of utility functions for data analysis.

Installation

pip install sbmutils

Usage

Quantile Normalization

import numpy as np
from sbmutils.norm import quantilenorm

# Create sample data
data = np.random.rand(10, 3)  # 10 rows, 3 columns

# Perform quantile normalization
normalized_data = quantilenorm(data, average="mean")

Features

  • quantilenorm: Performs 2D quantile normalization over columns
    • Supports both mean and median averaging methods
    • Handles missing values (NaN)
    • Input validation and error handling

Requirements

  • Python >= 3.6
  • NumPy
  • SciPy

License

This project is licensed under the MIT License.

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

sbmutils-0.2.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

sbmutils-0.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file sbmutils-0.2.0.tar.gz.

File metadata

  • Download URL: sbmutils-0.2.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for sbmutils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 af42f4f6c2725e50bb1f367b6de732b84be6cb6bcc76e23fb5a2457d06978d0c
MD5 2b3d684dfc50ef2c493162d952d32d04
BLAKE2b-256 c7c0c7bee6e9b60e48190387fad283e2f88be1ae77f517e13247733af65d2137

See more details on using hashes here.

File details

Details for the file sbmutils-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: sbmutils-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for sbmutils-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ff921ce84ecfd0dc0b8b4883d3f951bd1be5f7ca8dfbffc702bb90cc674c17b
MD5 5ce272cd45fcbc300d676ce7bc9c757e
BLAKE2b-256 c2c3f7853d316321470965f1e6c6bd0354dabebed5896a2a31d3086ed3cb8e1b

See more details on using hashes here.

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