MultiVariantBaseModel
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
extends
MultiVariantBaseModel - Properties
property: type
// type signature
ISimpleType<"LinearVariantMatrixDisplay">
// code
type: types.literal('LinearVariantMatrixDisplay')
property: layout
// type signature
IOptionalIType<IType<Source[], Source[], Source[]>, [undefined]>
// code
layout: types.optional(types.frozen<Source[]>(), [])
property: configuration
// type signature
AnyConfigurationSchemaType
// code
configuration: ConfigurationReference(configSchema)
property: minorAlleleFrequencyFilter
// type signature
IOptionalIType<ISimpleType<number>, [undefined]>
// code
minorAlleleFrequencyFilter: types.optional(types.number, 0.1)
property: showSidebarLabelsSetting
// type signature
true
// code
showSidebarLabelsSetting: true
property: renderingMode
// type signature
IOptionalIType<ISimpleType<string>, [undefined]>
// code
renderingMode: types.optional(types.string, 'alleleCount')
property: rowHeightSetting
used only if autoHeight is false
// type signature
IOptionalIType<ISimpleType<number>, [undefined]>
// code
rowHeightSetting: types.optional(types.number, 8)
property: autoHeight
used only if autoHeight is false
// type signature
true
// code
autoHeight: true
property: lengthCutoffFilter
// type signature
number
// code
lengthCutoffFilter: Number.MAX_SAFE_INTEGER
property: jexlFilters
// type signature
IMaybe<IArrayType<ISimpleType<string>>>
// code
jexlFilters: types.maybe(types.array(types.string))
property: referenceDrawingMode
// type signature
string
// code
referenceDrawingMode: 'skip'
MultiVariantBaseModel - Getters
getter: activeFilters
// type
any
getter: preSources
// type
Source[]
getter: sources
// type
any[]
getter: sourceMap
// type
any
getter: rowHeight
// type
number
getter: canDisplayLabels
// type
boolean
getter: totalHeight
// type
number
getter: featuresReady
// type
boolean
MultiVariantBaseModel - Methods
method: adapterProps
// type signature
adapterProps: () => any
method: trackMenuItems
// type signature
trackMenuItems: () => (MenuDivider | MenuSubHeader | NormalMenuItem | CheckboxMenuItem | RadioMenuItem | SubMenuItem | ... 5 more ... | { ...; })[]
method: renderProps
// type signature
renderProps: () => any
MultiVariantBaseModel - Actions
action: setJexlFilters
// type signature
setJexlFilters: (f?: string[]) => void
action: setRowHeight
// type signature
setRowHeight: (arg: number) => void
action: setHoveredGenotype
// type signature
setHoveredGenotype: (arg?: { genotype: string; name: string; }) => void
action: setFeatures
// type signature
setFeatures: (f: Feature[]) => void
action: setLayout
// type signature
setLayout: (layout: Source[]) => void
action: clearLayout
// type signature
clearLayout: () => void
action: setSourcesLoading
// type signature
setSourcesLoading: (str: string) => void
action: setSources
// type signature
setSources: (sources: Source[]) => void
action: setMafFilter
// type signature
setMafFilter: (arg: number) => void
action: setShowSidebarLabels
// type signature
setShowSidebarLabels: (arg: boolean) => void
action: setPhasedMode
// type signature
setPhasedMode: (arg: string) => void
action: setAutoHeight
// type signature
setAutoHeight: (arg: boolean) => void
action: setHasPhased
// type signature
setHasPhased: (arg: boolean) => void
action: setSampleInfo
// type signature
setSampleInfo: (arg: Record<string, SampleInfo>) => void
action: setReferenceDrawingMode
// type signature
setReferenceDrawingMode: (arg: string) => void