Skip to main content

LinearReferenceSequenceDisplay

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

base model BaseLinearDisplay

LinearReferenceSequenceDisplay - Properties

property: type

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

property: configuration

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

property: showForward

// type signature
true
// code
showForward: true

property: showReverse

// type signature
true
// code
showReverse: true

property: showTranslation

// type signature
true
// code
showTranslation: true

property: rowHeight

// type signature
number
// code
rowHeight: 15

LinearReferenceSequenceDisplay - Getters

getter: sequenceType

// type
any

getter: showForwardActual

showReverse setting, it is NOT disabled for non-dna sequences

// type
boolean

getter: showReverseActual

showReverse setting, is disabled for non-dna sequences

// type
boolean

getter: showTranslationActual

showTranslation setting is disabled for non-dna sequences

// type
boolean

getter: sequenceHeight

// type
number

getter: rendererTypeName

// type
any

LinearReferenceSequenceDisplay - Methods

method: renderProps

// type signature
renderProps: () => any

method: regionCannotBeRendered

// type signature
regionCannotBeRendered: () => 'Zoom in to see sequence'

method: trackMenuItems

// type signature
trackMenuItems: () => { label: string; type: string; checked: boolean; onClick: () => void; }[]

LinearReferenceSequenceDisplay - Actions

action: toggleShowForward

// type signature
toggleShowForward: () => void

action: toggleShowReverse

// type signature
toggleShowReverse: () => void

action: toggleShowTranslation

// type signature
toggleShowTranslation: () => void