GC.annotation()
Add an annotation: text, a line, an arrow, a symbol and more.
Usage
python
chart.annotation(type, cluster, **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 |
|---|---|---|
type | str | "text", "textMarker", "line", "arrow", "symbol", "rectangle", "promoter", "terminator" or "arc". Default "text". |
cluster | int, str or list, optional | The clusters, by number (from 1) or name. Default: all. |
**options | The options of the annotation type, e.g. text="Here", x=100, y=70. |
Value
GC: The chart.
