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.1.0.tar.gz (2.4 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.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sbmutils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a6aa1db88bd8b4cca9ad7461db5054d2e480b421d19e6778f334404e650135cd
MD5 48a95b8e7d8dde0936bad2d181925d15
BLAKE2b-256 3c11c7be0ca6c5960726267bdffa78ca0d9793784910bc5adb4247719ff46867

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sbmutils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a62944ccd421eb62595098b78124743f706f90a488cf3514c66978af0fe3277c
MD5 23bd4fd8b75da16ba7c8235d2fcd7c5b
BLAKE2b-256 57f7df63b4828e9a664b30a0a3ef39f081f19411a1678f4629c83626b80a8cac

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