Example of vertical axis in a track
height: 2500 |
Example of how to use zoom.extent and zoom.translateExtent to limit panning/zooming in d3 v4. The initial state of the visualisation are centered on coordinates [500, 1500] using zoom.transform. The limits for panning/zooming are set to [0, 5000].
Example of resizable TnT Board
Example of TnT Genome where the visualisation is restricted to two given coordinates using the min_coord and max_coord API methods. Zoom out until you find the given limits. These new limits are passed as Promises that are resolved when the visualisation is started. By default the lower limit is 0 and the higher limit is the length of the chromosome in display.
Example of displaying a subtree using TnT Tree
Example of exporting a TnT Tree in PNG
Example of track with overlapping elements using TnT Board
Example of how to re-root a tree on an internal node in TnT Tree. Click on an internal node to re-root the tree in that node. Click on the "Full Tree" button to get the full tree again
Built with blockbuilder.org
Example of TnT Tree with a scale bar.