Skip to main content

Plot Linkage Disequilibrium

Project description

LD plot

Plot of a Linkage Disequilibrium (LD) matrix in Python

Installation

pip

pip install ld-plot

Usage

from ld_plot.ld_plot import ld_plot

# LD: A symmetric LD matrix
# labels: A list of position names
figure = ld_plot(ld=LD, labels=labels)
figure.savefig('ld_plot.png')

Example output

example

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

ld-plot-0.0.2.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

ld_plot-0.0.2.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page