HierarchicalConfigSchema
Auto-generated config schema for the current JBrowse release — see the config guide for concepts. Built into JBrowse core. View source.
generally exists on the config.json or root config as configuration.hierarchical
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 |
|---|---|
configuration.hierarchical.sort.trackNamesboolean = false | start the track selector with tracks sorted alphabetically inside each category rather than in config order. Only the initial state — the selector's own "Sort track names" toggle overrides it from then on |
configuration.hierarchical.sort.categoriesboolean = false | start the track selector with categories sorted alphabetically rather than in config order. Only the initial state — the selector's own "Sort categories" toggle overrides it from then on |
configuration.hierarchical.defaultFolderCategoriesstringArray = [] | list of category names to display as folders by default |
configuration.hierarchical.defaultCollapsed.categoryNamesstringArray = [] | named top-level categories that start collapsed, e.g. ['ENCODE', 'RNA-seq']. Once a user expands or collapses anything, the selector remembers their state instead |
configuration.hierarchical.defaultCollapsed.topLevelCategoriesboolean = false | start every top-level category collapsed, so a config with many categories opens as a short list rather than a wall of tracks |
configuration.hierarchical.defaultCollapsed.subCategoriesboolean = false | start every nested category collapsed while leaving the top level open, for deeply categorized track sets |
Related links
- Guide: Hierarchical track selector