Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UMAPTranscriptionalContainerClass<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

Protected bioblocksHooks

bioblocksHooks: IBioblocksHookDict

Protected datasets

datasets: Set<Dataset> = Set<Dataset>()

Private subsampledIndices

subsampledIndices: number[] = new Array<number>()

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void

Optional UNSAFE_componentWillReceiveProps

Optional UNSAFE_componentWillUpdate

addBioblocksHook

  • addBioblocksHook<T>(name: string, cb: function): void

Optional componentDidCatch

  • componentDidCatch(error: Error, errorInfo: ErrorInfo): void
  • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

    Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

componentDidMount

  • componentDidMount(): void

componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Protected createReducer

  • createReducer<T>(datasetName: string, defaultValue: T, namespace?: string): void

finishLoading

  • finishLoading(): void

Protected getAnnotations

  • getAnnotations(): object

getComponentBioblocksHooks

getDatasets

Protected getErrorMessages

  • getErrorMessages(annotationsUnchanged: boolean): string[]

Protected getLabelToCellTransform

getLoadingStatus

Optional getSnapshotBeforeUpdate

  • Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it.

    Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.

    Parameters

    Returns SS | null

Protected onLabelChange

  • onLabelChange(label: string): void

Protected prepareData

  • prepareData(annotationsUnchanged?: boolean): void

registerDataset

  • registerDataset<T>(name: string, defaultValue?: T, namespace?: string): void

render

  • render(): Element

setupDataServices

  • setupDataServices(): void

Optional shouldComponentUpdate

  • Called to determine whether the change in props and state should trigger a re-render.

    Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed.

    If false is returned, Component#render, componentWillUpdate and componentDidUpdate will not be called.

    Parameters

    Returns boolean

teardown

  • teardown(): void

Static getActiveBioblocksVisualizations

Object literals

Static defaultProps

defaultProps: object

currentCells

currentCells: Set<number> = Set<number>()

currentLabels

currentLabels: Set<string> = Set<string>()

numIterationsBeforeReRender

numIterationsBeforeReRender: number = 1

numSamplesToShow

numSamplesToShow: number = 4000

onLabelAdd

onLabelAdd: EMPTY_FUNCTION = EMPTY_FUNCTION

onLabelRemove

onLabelRemove: EMPTY_FUNCTION = EMPTY_FUNCTION

setCurrentCells

setCurrentCells: EMPTY_FUNCTION = EMPTY_FUNCTION

Generated using TypeDoc