Skip to main content

LinearSNPCoverageDisplay

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

Source file

plugins/alignments/src/LinearSNPCoverageDisplay/models/model.ts

extends

LinearSNPCoverageDisplay - Properties

property: type

// type signature
ISimpleType<"LinearSNPCoverageDisplay">
// code
type: types.literal('LinearSNPCoverageDisplay')

property: drawInterbaseCounts

// type signature
IMaybe<ISimpleType<boolean>>
// code
drawInterbaseCounts: types.maybe(types.boolean)

property: drawIndicators

// type signature
IMaybe<ISimpleType<boolean>>
// code
drawIndicators: types.maybe(types.boolean)

property: drawArcs

// type signature
IMaybe<ISimpleType<boolean>>
// code
drawArcs: types.maybe(types.boolean)

property: filterBy

// type signature
IOptionalIType<IModelType<{ flagInclude: IOptionalIType<ISimpleType<number>, [undefined]>; flagExclude: IOptionalIType<ISimpleType<number>, [undefined]>; readName: IMaybe<...>; tagFilter: IMaybe<...>; }, {}, _NotCustomized, _NotCustomized>, [...]>
// code
filterBy: types.optional(FilterModel, {})

property: colorBy

// type signature
IMaybe<IModelType<{ type: ISimpleType<string>; tag: IMaybe<ISimpleType<string>>; }, {}, _NotCustomized, _NotCustomized>>
// code
colorBy: types.maybe(
types.model({
type: types.string,
tag: types.maybe(types.string),
}),
)

property: jexlFilters

// type signature
IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>
// code
jexlFilters: types.optional(types.array(types.string), [])

LinearSNPCoverageDisplay - Getters

getter: rendererConfig

// type
{ [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>

getter: drawArcsSetting

// type
any

getter: drawInterbaseCountsSetting

// type
any

getter: drawIndicatorsSetting

// type
any

getter: autorunReady

// type
boolean

getter: TooltipComponent

// type
(props: { model: { featureUnderMouse: Feature; }; height: number; offsetMouseCoord: Coord; clientMouseCoord: Coord; clientRect?: DOMRect; }) => Element

getter: adapterConfig

// type
{
type: string
subadapter: any
}

getter: rendererTypeName

// type
string

getter: needsScalebar

// type
boolean

getter: filters

// type
SerializableFilterChain

LinearSNPCoverageDisplay - Methods

method: renderProps

// type signature
renderProps: () => any

method: contextMenuItems

// type signature
contextMenuItems: () => any[]

method: trackMenuItems

// type signature
trackMenuItems: () => (MenuDivider | MenuSubHeader | NormalMenuItem | CheckboxMenuItem | RadioMenuItem | SubMenuItem | { ...; })[]

LinearSNPCoverageDisplay - Actions

action: setConfig

// type signature
setConfig: (configuration: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => void

action: setFilterBy

// type signature
setFilterBy: (filter: IFilter) => void

action: setColorBy

// type signature
setColorBy: (colorBy?: { type: string; tag?: string; }) => void

action: setJexlFilters

// type signature
setJexlFilters: (filters: string[]) => void

action: updateModificationColorMap

// type signature
updateModificationColorMap: (uniqueModifications: string[]) => void

action: setModificationsReady

// type signature
setModificationsReady: (flag: boolean) => void

action: toggleDrawIndicators

// type signature
toggleDrawIndicators: () => void

action: toggleDrawInterbaseCounts

// type signature
toggleDrawInterbaseCounts: () => void

action: toggleDrawArcs

// type signature
toggleDrawArcs: () => void