Skip to main content

SharedVariantMixin

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

SharedVariantMixin - Properties

property: selectedRendering

// type signature
IOptionalIType<ISimpleType<string>, [undefined]>
// code
selectedRendering: types.optional(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: configuration

// type signature
AnyConfigurationSchemaType
// code
configuration: ConfigurationReference(configSchema)

SharedVariantMixin - Getters

getter: adapterTypeName

// type
any

getter: rendererTypeNameSimple

// type
any

getter: filters

subclasses can define these, as snpcoverage track does

// type
any

getter: adapterCapabilities

// type
string[]

SharedVariantMixin - Actions

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

// type signature
setRendererType: (val: string) => void

action: reload

// type signature
reload: () => Promise<void>