Quantile normalization
Project description
qnorm
quantile normalization made easy.
Quick example
We recreate the example of Wikipedia:
import numpy as np
import qnorm
vals = np.array([
[5, 4, 3],
[2, 1, 4],
[3, 4, 6],
[4, 2, 8]])
print(qnorm.quantile_normalize(vals))
which prints this:
>>> [[5.66666667 5.16666667 2. ]
[2. 2. 3. ]
[3. 5.16666667 4.66666667]
[4.66666667 3. 5.66666667]]
Installation
pip
pip install qnorm
conda
conda install -c conda-forge qnorm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qnorm-0.0.8.tar.gz
(3.5 kB
view hashes)
Built Distribution
qnorm-0.0.8-py3-none-any.whl
(5.1 kB
view hashes)