'Gene visualization package for dataframe objects generated with PyRanges.'
Project description
pyranges_plot
Gene visualization package for dataframe objects generated with PyRanges.
Overview
The goal is getting a plot displaying a series of genes contained in a dataframe from a PyRanges object. It displays the genes in its corresponding chromosome subplot. The user can choose whether the plot is based on Matplotlib or Plotly by setting the engine.
Pyranges plot offers a wide versatility for coloring. The data feature (column) according to which the genes will be colored is by default the gene ID, but this “color column” can be selected manually. Color specifications can be left as the default colormap or be provided as dictionaries, lists and color objects from either Matplotlib or Plotly regardless of the chosen engine. When a colormap or list of colors is specified, the color of the genes will iterate over the given colors following the color column pattern. In the case of concrete color instructions such as dictionary, the genes will be colored according to it while the non-specified ones will be colored in black(??).
Installation
PyRanges-Plot can be installed using pip:
pip install pyranges-plot
Examples
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
File details
Details for the file pyranges_plot-0.0.3.tar.gz
.
File metadata
- Download URL: pyranges_plot-0.0.3.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44015092ed51cd2690b766f832b41ed5192657715e3d304b831db2558e98f0c1 |
|
MD5 | ac68281cdbcf1d3788472108537747ed |
|
BLAKE2b-256 | b86ab4763818e88e5e179daffdbdaf375f4271cdafd9c0328df836d1565831a7 |