-
Notifications
You must be signed in to change notification settings - Fork 52
Line tracks
Horizontal lines tracks display 1D tiled data as a line.
The values in a line are scaled according to the minimum and maximum visible values in the currently visible tiles (the so-called "visible values"). If the default linear scaling is selected, then values are scaled linearly from the minimum to the maximum visible values. If log scaling is selected, then to avoid having to scale values equal to 0, a pseudocount equal to the median of the "visible" values is added to each value and values are scaled from log(median_value) to log(max_value+median_value)
.
The label position indicates where the name of the track will be drawn. The example on the left has been labelled as "wgEncodeSydhTfbsGm12878Rad21IggrabSig.hitile". The available values are topLeft
, topRight
, bottomLeft
, bottomRight
, and hidden
.
They can be adorned with an axis using the axisPositionHorizontal
option. The default value is right
, but can be set to null
or hidden
if no axis is desired. For vertical line axes use the axisPositionVertical
option with available options top
, bottom
and hidden
.
The stroke color determines how to color the drawn line. It can be configured using hex or word colors in the config file or selected from the presets shown in the track config menu.
Example configuration (horizontal line)
{
"server": "http://higlass.io/api/v1",
"tilesetUid": "b6qFe7fOSnaX-YkP2kzN1w",
"type": "horizontal-line",
"options": {
labelPosition: 'topLeft',
"axisPositionHorizontal": "left",
lineStrokeColor: 'blue',
}
}
Example configuration (vertical line)
{
"server": "http://higlass.io/api/v1",
"tilesetUid": "b6qFe7fOSnaX-YkP2kzN1w",
"type": "vertical-line",
"options": {
"axisPositionVertical": "right"
}
}
- Adding a new track
- Resizing a view
- Adding and removing views
- Replacing tracks
- Changing a heatmap's colormap
- Adding track labels
- Adding new views
- Closing views
- View synchronization
- View linking
- Syncing and linking
- Exporting and sharing