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

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

Source code

GitHub page

Docs

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: filterBySetting

// type signature
IType<FilterBy, FilterBy, FilterBy>
// code
filterBySetting: types.frozen<FilterBy | undefined>()

property: colorBySetting

// type signature
IType<ColorBy, ColorBy, ColorBy>
// code
colorBySetting: types.frozen<ColorBy | undefined>()

property: jexlFilters

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

LinearSNPCoverageDisplay - Getters

getter: colorBy

// type
any

getter: filterBy

// type
any

getter: rendererConfig

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

getter: drawArcsSetting

// type
any

getter: drawInterbaseCountsSetting

// type
any

getter: drawIndicatorsSetting

// type
any

getter: autorunReady

// type
boolean

getter: renderReady

// type
boolean

getter: ready

// type
any

getter: TooltipComponent

// type
LazyExoticComponent<(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: adapterProps

// type signature
adapterProps: () => any

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: Record<string, unknown>): Record<string, unknown> | ({ [x: string]: any; } & NonEmptyObject & ... & IStateTreeNode<...>); } & IStateTreeNode<...>) => void

action: setFilterBy

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

action: setColorScheme

// type signature
setColorScheme: (colorBy?: ColorBy) => void

action: setJexlFilters

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

action: updateVisibleModifications

// type signature
updateVisibleModifications: (uniqueModifications: ModificationType[]) => 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