Forest plot track, designed for use with PheWAS style datasets. This is not part of the core LocusZoom library, but can be included as a standalone file.
Features provided
Loading and usage
The page must incorporate and load all libraries before this file can be used, including:
- LocusZoom
To use in an environment without special JS build tooling, simply load the extension file as JS from a CDN (after any dependencies):
<script src="https://cdn.jsdelivr.net/npm/locuszoom@INSERT_VERSION_HERE/dist/ext/lz-forest-track.min.js" type="application/javascript"></script>
To use with ES6 modules, the plugin must be loaded and registered explicitly before use:
import LocusZoom from 'locuszoom';
import ForestTrack from 'locuszoom/esm/ext/lz-forest-track';
LocusZoom.use(ForestTrack);
Then use the layouts made available by this extension. (see demos and documentation for guidance)
- Source: