@jbrowse/plugin-wiggle
Version:
JBrowse 2 wiggle adapters, tracks, etc.
15 lines (14 loc) • 638 B
JavaScript
import TrackType from '@jbrowse/core/pluggableElementTypes/TrackType';
import { createBaseTrackModel } from '@jbrowse/core/pluggableElementTypes/models';
import configSchemaF from './configSchema';
export default function MultiQuantitativeTrackF(pluginManager) {
pluginManager.addTrackType(() => {
const configSchema = configSchemaF(pluginManager);
return new TrackType({
name: 'MultiQuantitativeTrack',
displayName: 'Multi-quantitative track',
configSchema,
stateModel: createBaseTrackModel(pluginManager, 'MultiQuantitativeTrack', configSchema),
});
});
}