GC.cluster()
Set how genes are placed in their cluster.
Usage
python
chart.cluster(
separate_strands,
strand_spacing,
prevent_gene_overlap,
overlap_min,
overlap_spacing,
cluster,
style,
**options,
)An argument shown without a default is optional too: left out, the chart keeps its default.
chart is a GC chart.
Arguments
| Argument | Type | Description |
|---|---|---|
separate_strands | bool, optional | Whether to draw the strands on separate lines. |
strand_spacing | float, optional | Pixels between the strands. |
prevent_gene_overlap | bool or str, optional | True moves overlapping genes to other tracks; "nested" draws genes inside longer ones smaller, on the same track. |
overlap_min | float or str, optional | Overlap genes may have before they move, in base pairs or as a share, e.g. "10%". |
overlap_spacing | float, optional | Pixels between tracks. |
cluster | int, str or list, optional | The clusters, by number (from 1) or name. Default: all. |
style | dict | CSS styles of the cluster. |
**options | Further options. |
Value
GC: The chart.
