UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

14 lines (13 loc) 487 B
import { TrackType, createBaseTrackModel, } from '@jbrowse/core/pluggableElementTypes'; import configSchemaF from './configSchema'; export default function FeatureTrackF(pm) { pm.addTrackType(() => { const configSchema = configSchemaF(pm); return new TrackType({ name: 'FeatureTrack', displayName: 'Feature track', configSchema, stateModel: createBaseTrackModel(pm, 'FeatureTrack', configSchema), }); }); }