Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TensorTContainerClass<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

Protected bioblocksHooks

bioblocksHooks: IBioblocksHookDict

Protected canvasContext

canvasContext: CanvasRenderingContext2D | null = null

Protected datasets

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

Static displayName

displayName: string = "tSNE - TensorFlow"

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(): Promise<void>

componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Protected computeTensorTsne

  • computeTensorTsne(numIterations: number): Promise<void>

Protected createReducer

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

finishLoading

  • finishLoading(): void

getComponentBioblocksHooks

getDatasets

getLoadingStatus

Protected getPlotlyCoordsFromSpring

  • getPlotlyCoordsFromSpring(coords: number[][], currentCells: number[]): Array<Partial<IPlotlyData>>

Protected getPlotlyCoordsFromTsne

  • getPlotlyCoordsFromTsne(coords: number[][]): Array<Partial<IPlotlyData>>

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 getTensorConfigs

Protected handlePointSelection

Protected onIterateForward

  • onIterateForward(amount?: number): (Anonymous function)

Protected onIterationToggle

  • onIterationToggle(): (Anonymous function)

Protected onReset

  • onReset(): (Anonymous function)

registerDataset

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

render

  • render(): Element

Protected renderIterateButton

  • renderIterateButton(): Element

Protected renderIterateLabel

  • renderIterateLabel(): Element

Protected renderPlaybackControls

  • renderPlaybackControls(): Element

Protected renderResetButton

  • renderResetButton(): Element

setupDataServices

  • setupDataServices(): void

Protected setupTensorData

  • setupTensorData(): Promise<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>()

datasetLocation

datasetLocation: string = "hpc/full"

height

height: string = "525px"

isFullPage

isFullPage: boolean = false

pointColor

pointColor: string = "#aa0000"

setCurrentCells

setCurrentCells: EMPTY_FUNCTION = EMPTY_FUNCTION

width

width: number = 400

style

style: object

padding

padding: number = 0

Generated using TypeDoc