JBrowseReactLinearGenomeViewSessionModel
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
composed of
- BaseSessionModel
- DrawerWidgetSessionMixin
- ConnectionManagementSessionMixin
- DialogQueueSessionMixin
- TracksManagerSessionMixin
- ReferenceManagementSessionMixin
- SessionTracksManagerSessionMixin
- SnackbarModel
JBrowseReactLinearGenomeViewSessionModel - Properties
property: view
// type signature
IModelType<{ id: IOptionalIType<ISimpleType<string>, [undefined]>; displayName: IMaybe<ISimpleType<string>>; minimized: IType<boolean, boolean, boolean>; } & { ...; }, { ...; } & ... 15 more ... & { ...; }, ModelCreationType<...>, _NotCustomized>
// code
view: pluginManager.getViewType('LinearGenomeView')!
.stateModel as LinearGenomeViewStateModel
property: sessionTracks
// type signature
IArrayType<IAnyModelType>
// code
sessionTracks: types.array(
pluginManager.pluggableConfigSchemaType('track'),
)
JBrowseReactLinearGenomeViewSessionModel - Getters
getter: version
// type
any
getter: disableAddTracks
// type
any
getter: assemblies
// type
any[]
getter: assemblyNames
// type
any[]
getter: connections
// type
any
getter: assemblyManager
// type
any
getter: views
// type
({ id: string; displayName: string; minimized: boolean; type: string; offsetPx: number; bpPerPx: number; displayedRegions: Region[] & IStateTreeNode<IOptionalIType<IType<Region[], Region[], Region[]>, [...]>>; ... 11 more ...; showTrackOutlines: boolean; } & ... 18 more ... & IStateTreeNode<...>)[]
JBrowseReactLinearGenomeViewSessionModel - Methods
method: renderProps
// type signature
renderProps: () => {
theme: any
highResolutionScaling: any
}
method: getTrackActionMenuItems
// type signature
getTrackActionMenuItems: (config: any) => { label: string; onClick: () => void; icon: OverridableComponent<SvgIconTypeMap<{}, "svg">> & { muiName: string; }; }[]
JBrowseReactLinearGenomeViewSessionModel - Actions
action: addView
// type signature
addView: (typeName: string, initialState?: {}) => { id: string; displayName: string; minimized: boolean; type: string; offsetPx: number; bpPerPx: number; displayedRegions: Region[] & IStateTreeNode<IOptionalIType<...>>; ... 11 more ...; showTrackOutlines: boolean; } & ... 18 more ... & IStateTreeNode<...>