LinearReadCloudDisplay
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
it is not a block based track, hence not BaseLinearDisplay extends
LinearReadCloudDisplay - Properties
property: type
// type signature
ISimpleType<"LinearReadCloudDisplay">
// code
type: types.literal('LinearReadCloudDisplay')
property: configuration
// type signature
AnyConfigurationSchemaType
// code
configuration: ConfigurationReference(configSchema)
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: drawSingletons
// type signature
true
// code
drawSingletons: true
LinearReadCloudDisplay - Getters
getter: colorBy
// type
any
getter: filterBy
// type
any
LinearReadCloudDisplay - Methods
method: trackMenuItems
// type signature
trackMenuItems: () => (MenuDivider | MenuSubHeader | NormalMenuItem | CheckboxMenuItem | RadioMenuItem | SubMenuItem | { ...; })[]
method: renderSvg
// type signature
renderSvg: (opts: { rasterizeLayers?: boolean; }) => Promise<React.ReactNode>
LinearReadCloudDisplay - Actions
action: setDrawSingletons
// type signature
setDrawSingletons: (f: boolean) => void
action: setLastDrawnOffsetPx
// type signature
setLastDrawnOffsetPx: (n: number) => void
action: setLastDrawnBpPerPx
// type signature
setLastDrawnBpPerPx: (n: number) => void
action: setLoading
// type signature
setLoading: (f: boolean) => void
action: reload
// type signature
reload: () => void
action: setRef
internal, a reference to a HTMLCanvas because we use a autorun to draw the canvas
// type signature
setRef: (ref: HTMLCanvasElement) => void
action: setChainData
// type signature
setChainData: (args: ChainData) => void
action: setFilterBy
// type signature
setFilterBy: (filter: FilterBy) => void