Class: MapGenomicData

MapGenomicData

new epiviz.datatypes.MapGenomicData(map)

datatypes/map-genomic-data.js, line 14
Name Type Description
map epiviz.measurements.MeasurementHashtable.<epiviz.datatypes.MeasurementGenomicData> optional

Methods

protected_setMap(map)

datatypes/map-genomic-data.js, line 54
Name Type Description
map epiviz.measurements.MeasurementHashtable.<epiviz.datatypes.MeasurementGenomicData>

binarySearchStarts(m, range){Object}

datatypes/map-genomic-data.js, line 165

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

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

firstSeries(){epiviz.datatypes.MeasurementGenomicData}

datatypes/map-genomic-data.js, line 65
Returns:
Type Description
epiviz.datatypes.MeasurementGenomicData

foreach(callback)

datatypes/map-genomic-data.js, line 176

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.

Name Type Description
callback function

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

datatypes/map-genomic-data.js, line 83
Name Type Description
m epiviz.measurements.Measurement
i number
Returns:
Type Description
epiviz.datatypes.GenomicData.ValueItem

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

datatypes/map-genomic-data.js, line 142
Name Type Description
m epiviz.measurements.Measurement
globalIndex number
Returns:
Type Description
epiviz.datatypes.GenomicData.ValueItem

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

datatypes/map-genomic-data.js, line 94
Name Type Description
m epiviz.measurements.Measurement
i number
Returns:
Type Description
epiviz.datatypes.GenomicData.RowItem

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

datatypes/map-genomic-data.js, line 153
Name Type Description
m epiviz.measurements.Measurement
globalIndex number
Returns:
Type Description
epiviz.datatypes.GenomicData.RowItem

getSeries(m){epiviz.datatypes.MeasurementGenomicData}

datatypes/map-genomic-data.js, line 74
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
epiviz.datatypes.MeasurementGenomicData

globalEndIndex(m){number}

datatypes/map-genomic-data.js, line 121
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
number

globalStartIndex(m){number}

datatypes/map-genomic-data.js, line 111
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
number

isReady(){boolean}

datatypes/map-genomic-data.js, line 46
Returns:
Type Description
boolean

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

datatypes/map-genomic-data.js, line 103
Returns:
Type Description
Array.<epiviz.measurements.Measurement>

ready(callback)

datatypes/map-genomic-data.js, line 39
Name Type Description
callback function

size(m){number}

datatypes/map-genomic-data.js, line 131
Name Type Description
m epiviz.measurements.Measurement
Returns:
Type Description
number
comments powered by Disqus