Skip to main content

xicor

Tests codecov

xi correlation method adapted for python

What is xicor?

xicor is an implementation of the "xi" correlation metric described in Chatterjee, S. (2019, September 22). A new coefficient of correlation. arxiv.org/abs/1909.10140. It is based off the R code mentioned in the paper: https://statweb.stanford.edu/~souravc/xi.R

Installation

The package can be installed from PyPI using pip here:

pip install xicor

Developmental install

To install this code and play around with the code locally, clone this github repository and use pip to install:

git clone https://github.com/czbiohub/xicor.git
cd xicor

# The "." means "install *this*, the folder where I am now"
pip install .
# or you could install using
python setup.py install

Usage

from xicor.xicor import Xi
xi_obj = Xi([1, 2, 3], [1, 2, 3])
correlation = xi_obj.correlation
pvals = xi_obj.pval_asymptotic(ties=False, nperm=1000)

Metadata

Release files for xicor 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xicor 1.0.1
File Size Uploaded Provenance Actions
xicor-1.0.1.tar.gz 139.0 kB Without provenance Details for xicor-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xicor 1.0.1
File Interpreter ABI Platform Actions
xicor-1.0.1-py3-none-any.whl Python 3 none any Details for xicor-1.0.1-py3-none-any.whl

Total release size: 153.0 kB

Release files / xicor-1.0.1.tar.gz

Download URL xicor-1.0.1.tar.gz
Size 139.0 kB
Tags Source
SHA-256 checksum
How to use checksums
680bddddbccf4700342ab99b51896bcbd1e5144015709917bb7075a9dbf397cd
BLAKE2b-256 checksum
How to use checksums
66da92a71e64520db90ecc3271ebe40da8a08a8e6d2ce2b02a78c3020bc62214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / xicor-1.0.1-py3-none-any.whl

Download URL xicor-1.0.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77c505183a7ee400ba88f84036e17e126459ae4481a6fde965a672b477315d85
BLAKE2b-256 checksum
How to use checksums
8ee8eacceba161595f81f2a618a5700bed6007d4c1452227f32ebb364a56fa5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for xicor 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page