SharedWiggleMixin
Note: this document is automatically generated from mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info
Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag
Links
Docs
SharedWiggleMixin - Properties
property: selectedRendering
// type signature
IOptionalIType<ISimpleType<string>, [undefined]>
// code
selectedRendering: types.optional(types.string, '')
property: resolution
// type signature
IOptionalIType<ISimpleType<number>, [undefined]>
// code
resolution: types.optional(types.number, 1)
property: fill
// type signature
IMaybe<ISimpleType<boolean>>
// code
fill: types.maybe(types.boolean)
property: minSize
// type signature
IMaybe<ISimpleType<number>>
// code
minSize: types.maybe(types.number)
property: color
// type signature
IMaybe<ISimpleType<string>>
// code
color: types.maybe(types.string)
property: posColor
// type signature
IMaybe<ISimpleType<string>>
// code
posColor: types.maybe(types.string)
property: negColor
// type signature
IMaybe<ISimpleType<string>>
// code
negColor: types.maybe(types.string)
property: summaryScoreMode
// type signature
IMaybe<ISimpleType<string>>
// code
summaryScoreMode: types.maybe(types.string)
property: rendererTypeNameState
// type signature
IMaybe<ISimpleType<string>>
// code
rendererTypeNameState: types.maybe(types.string)
property: scale
// type signature
IMaybe<ISimpleType<string>>
// code
scale: types.maybe(types.string)
property: autoscale
// type signature
IMaybe<ISimpleType<string>>
// code
autoscale: types.maybe(types.string)
property: displayCrossHatches
// type signature
IMaybe<ISimpleType<boolean>>
// code
displayCrossHatches: types.maybe(types.boolean)
property: constraints
// type signature
IOptionalIType<IModelType<{ max: IMaybe<ISimpleType<number>>; min: IMaybe<ISimpleType<number>>; }, {}, _NotCustomized, _NotCustomized>, [...]>
// code
constraints: types.optional(
types.model({
max: types.maybe(types.number),
min: types.maybe(types.number),
}),
{},
)
property: configuration
// type signature
AnyConfigurationSchemaType
// code
configuration: ConfigurationReference(configSchema)
SharedWiggleMixin - Getters
getter: adapterTypeName
// type
any
getter: rendererTypeNameSimple
// type
any
getter: filters
subclasses can define these, as snpcoverage track does
// type
any
getter: scaleType
// type
any
getter: maxScore
// type
any
getter: minScore
// type
any
getter: adapterCapabilities
// type
string[]
getter: rendererConfig
// type
{ [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({ [x: string]: any; } & NonEmptyObject & ... & IStateTreeNode<...>); } & IStateTreeNode<...>
getter: autoscaleType
// type
any
getter: domain
// type
number[]
getter: filled
// type
boolean
getter: summaryScoreModeSetting
// type
string
getter: scaleOpts
// type
{ domain: number[]; stats: { currStatsBpPerPx: number; scoreMin: number; scoreMax: number; }; autoscaleType: any; scaleType: any; inverted: any; }
getter: canHaveFill
// type
boolean
getter: displayCrossHatchesSetting
// type
boolean
getter: hasResolution
// type
boolean
getter: hasGlobalStats
// type
boolean
SharedWiggleMixin - Methods
method: scoreTrackMenuItems
// type signature
scoreTrackMenuItems: () => ({ label: string; subMenu: { label: string; onClick: () => void; }[]; onClick?: undefined; } | { label: string; subMenu: { label: string; type: string; checked: boolean; onClick: () => void; }[]; onClick?: undefined; } | { ...; })[]
SharedWiggleMixin - Actions
action: updateQuantitativeStats
// type signature
updateQuantitativeStats: (stats: { currStatsBpPerPx: number; scoreMin: number; scoreMax: number; }) => void
action: setColor
// type signature
setColor: (color?: string) => void
action: setPosColor
// type signature
setPosColor: (color?: string) => void
action: setNegColor
// type signature
setNegColor: (color?: string) => void
action: setStatsLoading
// type signature
setStatsLoading: (arg?: string) => void
action: selectFeature
this overrides the BaseLinearDisplayModel to avoid popping up a feature detail display, but still sets the feature selection on the model so listeners can detect a click
// type signature
selectFeature: (feature: Feature) => void
action: setResolution
// type signature
setResolution: (res: number) => void
action: setFill
// type signature
setFill: (fill: number) => void
action: toggleLogScale
// type signature
toggleLogScale: () => void
action: setScaleType
// type signature
setScaleType: (scale?: string) => void
action: setSummaryScoreMode
// type signature
setSummaryScoreMode: (val: string) => void
action: setAutoscale
// type signature
setAutoscale: (val: string) => void
action: setMaxScore
// type signature
setMaxScore: (val?: number) => void
action: setRendererType
// type signature
setRendererType: (val: string) => void
action: setMinScore
// type signature
setMinScore: (val?: number) => void
action: toggleCrossHatches
// type signature
toggleCrossHatches: () => void
action: setCrossHatches
// type signature
setCrossHatches: (cross: boolean) => void
action: reload
// type signature
reload: () => Promise<void>