UNPKG

@jbrowse/plugin-wiggle

Version:

JBrowse 2 wiggle adapters, tracks, etc.

15 lines (14 loc) 617 B
import TrackType from '@jbrowse/core/pluggableElementTypes/TrackType'; import { createBaseTrackModel } from '@jbrowse/core/pluggableElementTypes/models'; import configSchemaF from './configSchema'; export default function QuantitativeTrackF(pluginManager) { pluginManager.addTrackType(() => { const configSchema = configSchemaF(pluginManager); return new TrackType({ name: 'QuantitativeTrack', displayName: 'Quantitative track', configSchema, stateModel: createBaseTrackModel(pluginManager, 'QuantitativeTrack', configSchema), }); }); }