@jbrowse/plugin-wiggle
Version:
JBrowse 2 wiggle adapters, tracks, etc.
48 lines (47 loc) • 1.48 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const configuration_1 = require("@jbrowse/core/configuration");
const mobx_state_tree_1 = require("mobx-state-tree");
function x() { }
const WiggleRenderer = (0, configuration_1.ConfigurationSchema)('WiggleRenderer', {
color: {
type: 'color',
description: 'the color of track, overrides posColor and negColor',
defaultValue: '#f0f',
contextVariable: ['feature'],
},
posColor: {
type: 'color',
description: 'the color to use when the score is positive',
defaultValue: 'blue',
contextVariable: ['feature'],
},
negColor: {
type: 'color',
description: 'the color to use when the score is negative',
defaultValue: 'red',
contextVariable: ['feature'],
},
clipColor: {
type: 'color',
description: 'the color of the clipping marker',
defaultValue: 'red',
},
bicolorPivot: {
type: 'stringEnum',
model: mobx_state_tree_1.types.enumeration('Scale type', [
'numeric',
'mean',
'z_score',
'none',
]),
description: 'type of bicolor pivot',
defaultValue: 'numeric',
},
bicolorPivotValue: {
type: 'number',
defaultValue: 0,
description: 'value to use for bicolor pivot',
},
}, { explicitlyTyped: true });
exports.default = WiggleRenderer;