Skip to main content

LinearVariantMatrixDisplay

Note: this document is automatically generated from @jbrowse/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

LinearVariantMatrixDisplay - Properties

property: type

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

property: lineZoneHeight

// type signature
IOptionalIType<ISimpleType<number>, [undefined]>
// code
lineZoneHeight: types.optional(types.number, 20)

LinearVariantMatrixDisplay - Getters

getter: blockType

// type
string

getter: prefersOffset

positions multi-row below the tracklabel even if using overlap tracklabels

// type
boolean

LinearVariantMatrixDisplay - Methods

method: renderProps

Override renderProps to pass the correct height for the matrix renderer

// type signature
renderProps: () => any

LinearVariantMatrixDisplay - Actions

action: setLineZoneHeight

// type signature
setLineZoneHeight: (n: number) => number

action: renderSvg

// type signature
renderSvg: (opts: ExportSvgDisplayOptions) => Promise<Element>