Interface: GenomicData

GenomicData

Classes

ValueItem

Methods

binarySearchStarts(m, range) → {Object}

Gets the first index and length of the rows that have start positions within the given range

.

Gets the first index and length of the rows that have start positions within the given range

Parameters:
Name Type Description
m epiviz.measurements.Measurement
range epiviz.datatypes.GenomicRange
Source:
Returns:
Type
Object

firstSeries() → {epiviz.datatypes.MeasurementGenomicData}

Source:
Returns:
Type
epiviz.datatypes.MeasurementGenomicData

foreach(callback)

Iterates through all pairs in the map, or until the given function returns something that evaluates to true.

Iterates through all pairs in the map, or until the given function returns something that evaluates to true.

Parameters:
Name Type Description
callback function
Source:

get(m, i) → {epiviz.datatypes.GenomicData.ValueItem}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
i number
Source:
Returns:
Type
epiviz.datatypes.GenomicData.ValueItem

getByGlobalIndex(m, globalIndex) → {epiviz.datatypes.GenomicData.ValueItem}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
globalIndex number
Source:
Returns:
Type
epiviz.datatypes.GenomicData.ValueItem

getRow(m, i) → {epiviz.datatypes.GenomicData.RowItem}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
i number
Source:
Returns:
Type
epiviz.datatypes.GenomicData.RowItem

getRowByGlobalIndex(m, globalIndex) → {epiviz.datatypes.GenomicData.RowItem}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
globalIndex number
Source:
Returns:
Type
epiviz.datatypes.GenomicData.RowItem

getSeries(m) → {epiviz.datatypes.MeasurementGenomicData}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
Source:
Returns:
Type
epiviz.datatypes.MeasurementGenomicData

globalEndIndex(m) → {number}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
Source:
Returns:
Type
number

globalStartIndex(m) → {number}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
Source:
Returns:
Type
number

isReady() → {boolean}

Source:
Returns:
Type
boolean

measurements() → {Array.<epiviz.measurements.Measurement>}

Source:
Returns:
Type
Array.<epiviz.measurements.Measurement>

ready(callback)

Parameters:
Name Type Description
callback function

Called when data is fully initialized and ready to be manipulated

Source:

size(m) → {number}

Parameters:
Name Type Description
m epiviz.measurements.Measurement
Source:
Returns:
Type
number