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.2.tar.gz (4.2 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.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sbmutils-0.2.2.tar.gz
  • Upload date:
  • Size: 4.2 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.2.tar.gz
Algorithm Hash digest
SHA256 b6628c5c9a362d76995a3a78e9025d94f9c856d2afb128e9d9df6b8f7b233905
MD5 5baf4d06f153bb81d1fd60ad06f26171
BLAKE2b-256 1c571d80dc15bb31adbae432aafe454a1b5ab0548906f9356ffeba0f168d704b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sbmutils-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2adf90679f58acd0920a29401b2dca08826fa40c66a2eea1824686f6d5c14ae2
MD5 59cab31d59998a5829e5c0c2450f3500
BLAKE2b-256 e928c36c46298ad5547e6d3ab04bfaed1e47c65ee1e047c9155d250e7217ff3f

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