https://github.com/czbiohub-sf/xicor

xi correlation method adapted for python

https://github.com/czbiohub-sf/xicor

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

xi correlation method adapted for python

Basic Info
  • Host: GitHub
  • Owner: czbiohub-sf
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 555 KB
Statistics
  • Stars: 150
  • Watchers: 9
  • Forks: 17
  • Open Issues: 8
  • Releases: 0
Archived
Created over 6 years ago · Last pushed over 3 years ago
Metadata Files
Readme Changelog License

README.md

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

  • Free software: MIT license
  • Documentation: https://czbiohub.github.io/xicor

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 xiobj = Xi([1, 2, 3], [1, 2, 3]) correlation = xiobj.correlation pvals = xiobj.pvalasymptotic(ties=False, nperm=1000)

```

Owner

  • Name: Chan Zuckerberg Biohub San Francisco
  • Login: czbiohub-sf
  • Kind: organization
  • Location: San Francisco

GitHub Events

Total
  • Watch event: 3
Last Year
  • Watch event: 3

Dependencies

environment.yml conda
  • ipykernel
  • numpy
  • pandas
  • pytest-cov
  • scipy
  • seaborn
requirements.txt pypi
  • black *
  • numpy *
  • pytest *
  • pytest-cov *
  • scipy >=1.4.1