JBrowseReactLinearGenomeViewRootModel
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
JBrowseReactLinearGenomeViewRootModel - Properties
property: config
// type signature
IModelType<{ configuration: ConfigurationSchemaType<{ rpc: ConfigurationSchemaType<{ defaultDriver: { type: string; description: string; defaultValue: string; }; drivers: IOptionalIType<IMapType<ITypeUnion<ModelCreationType<ExtractCFromProps<Record<string, any>>>, ModelSnapshotType<...>, {} & ... 1 more ... & NonEmp...
// code
config: createConfigModel(pluginManager, assemblyConfig)
property: session
// type signature
IModelType<{ id: IOptionalIType<ISimpleType<string>, [undefined]>; name: ISimpleType<string>; margin: IType<number, number, number>; } & { ...; } & { ...; } & { ...; } & { ...; }, { ...; } & ... 22 more ... & { ...; }, _NotCustomized, _NotCustomized>
// code
session: Session
property: assemblyManager
// type signature
IOptionalIType<IModelType<{ assemblies: IArrayType<IModelType<{ configuration: IMaybe<IReferenceType<IAnyType>>; }, { error: unknown; loadingP: Promise<void>; volatileRegions: BasicRegion[]; refNameAliases: RefNameAliases; lowerCaseRefNameAliases: RefNameAliases; cytobands: Feature[]; } & ... 5 more ... & { ...; }, ...
// code
assemblyManager: types.optional(AssemblyManager, {})
property: disableAddTracks
// type signature
IOptionalIType<ISimpleType<boolean>, [undefined]>
// code
disableAddTracks: types.optional(types.boolean, false)
property: internetAccounts
// type signature
IArrayType<IAnyType>
// code
internetAccounts: types.array(
pluginManager.pluggableMstType('internet account', 'stateModel'),
)
JBrowseReactLinearGenomeViewRootModel - Getters
getter: jbrowse
// type
{ configuration: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({ ...; } & NonEmptyObject & { ...; } & IStateTreeNode<...>); } & IStateTreeNode<...>; ... 5 more ...; plugins: any; } & NonEmptyObject & { ...; } & IStateTreeNode<...>
JBrowseReactLinearGenomeViewRootModel - Actions
action: setSession
// type signature
setSession: (sessionSnapshot: ModelCreationType<ExtractCFromProps<{ id: IOptionalIType<ISimpleType<string>, [undefined]>; name: ISimpleType<string>; margin: IType<number, number, number>; } & { ...; } & { ...; } & { ...; } & { ...; }>>) => void
action: renameCurrentSession
// type signature
renameCurrentSession: (sessionName: string) => void
action: setError
// type signature
setError: (error: unknown) => void
action: addInternetAccount
// type signature
addInternetAccount: (acct: any) => void
action: findAppropriateInternetAccount
// type signature
findAppropriateInternetAccount: (location: UriLocation) => any