RowAxis
Auto-generated from the config schema in the source. See the config guide for concepts. Built into JBrowse core. View source.
rows.axis: the guide down the left of a row display, which draws the
clustering tree and the row names. A guide nests under its channel
(ADR-257), as the value axis is encoding.y.axis: rows holds what the
axis draws (rows.tree, rows.labels), and rows.axis whether and how
it draws them. The wiggle, variant and mark displays add grid
(RowAxisWithGrid).
Example usage
{ type: 'LinearMafDisplay', rows: { axis: { tree: false, width: 120 } } }Related links
- Extended by: RowAxisWithGrid
- Developer guide: Upgrading to v5
Config slots
A setting written to it names members one by one: a member left out stays as it is, and null resets one. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
treeboolean = true |
Whether the tree draws; the tree itself is rows.tree. |
branchLengthboolean = true |
position tree nodes by branch length (dendrogram) rather than evenly by topology (cladogram) |
labelsboolean = true |
The names draw over the plot, in a strip as wide as the widest name up to 120px, so on a wide view the left of every row sits under them. The text a row's label takes is rows.labels. |
widthnumber = 80 |
A drag on the sidebar's edge writes this, as a drag on the track's bottom edge writes height. |