RowArrangement
Auto-generated from the config schema in the source — see the config guide for concepts. Built into JBrowse core. View source.
Example usage
{
type: 'LinearMultiSampleVariantDisplay',
rows: { domain: ['NA12878', 'NA12891'], labels: { NA12878: 'Proband' } },
}The rows setting of a display whose rows are its own — a sample, a
species — rather than the values of a field: the arrangement a reader gives
them, which every product writes as a session edit to this object. The
order, the labels, the tree with its provenance and the focus, each by row
name. The field-keyed displays' Rows object is this plus field.
Related links
- Extended by: Rows
- User guide: Clustering rows
- User guide: Multi-sample variant display
Config slots
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 |
|---|---|
domainstringArray = [] | The row order: the rows listed lead, in this order, and the rest keep the order they arrived in. A clustering run, the arrangement dialog and "Sort rows here" all write it, and a run rotates its dendrogram towards it rather than discarding it. |
labelsstringMap = {} | A label drawn beside a row in place of its name, by name. |
treemaybeString | The dendrogram beside the rows, as newick. A clustering run writes it beside the order it produced, and a reorder that moves a row drops it. |
treeProvenancemaybeFrozen | The locus and settings tree was computed from; unset for a tree that arrived as data. |
keptstringArray = [] | The rows shown, by name: a clade picked off the tree, or the rows one key row stands for. Empty shows every row, and so does naming no current row where the track lists its rows. |