Skip to content

GC.coordinates() ​

Show the start and end coordinates of the genes.

Usage ​

python
chart.coordinates(
    show,
    tick_values_top,
    tick_values_bottom,
    ticks_format,
    tick_style,
    text_style,
    cluster,
    group_style,
    style_by,
    **options,
)

An argument shown without a default is optional too: left out, the chart keeps its default.

chart is a GC chart.

Arguments ​

ArgumentTypeDescription
showboolWhether to show the coordinates. Default True.
tick_values_top, tick_values_bottomlist of float, optionalCoordinates to show above or below the genes. Default: those of the genes.
ticks_formatstr, optionald3 format of the coordinates.
tick_style, text_styledictStyles of the ticks and their text.
clusterint, str or list, optionalThe clusters, by number (from 1) or name. Default: all.
group_styledict of dict, optionalStyles of the coordinates of the genes of a group: show and tick and text styles, e.g. {"other": {"show": False}}.
style_bystr, optionalThe column group_style is matched against. Default: the group of the chart.
**optionsFurther options, e.g. rotate=-45.

Value ​

GC: The chart.