new epiviz.datatypes.MeasurementGenomicDataArrayWrapper(measurement, items, itemsByGlobalIndex)
datatypes/measurement-genomic-data-array-wrapper.js, line 16
Name | Type | Description |
---|---|---|
measurement |
epiviz.measurements.Measurement | |
items |
Array.<epiviz.datatypes.GenomicData.ValueItem> | |
itemsByGlobalIndex |
Object.<number, epiviz.datatypes.GenomicData.ValueItem> |
Methods
-
binarySearchStarts(range){Object}
datatypes/measurement-genomic-data-array-wrapper.js, line 102TODO: Test to check correctness Gets the first index and length of the rows that have start positions within the given range
. -
TODO: Test to check correctness Gets the first index and length of the rows that have start positions within the given range
Name Type Description range
epiviz.datatypes.GenomicRange Returns:
Type Description Object -
get(index){epiviz.datatypes.GenomicData.ValueItem}
datatypes/measurement-genomic-data-array-wrapper.js, line 40 -
Name Type Description index
number Returns:
Type Description epiviz.datatypes.GenomicData.ValueItem -
getByGlobalIndex(globalIndex){epiviz.datatypes.GenomicData.ValueItem}
datatypes/measurement-genomic-data-array-wrapper.js, line 84 -
Name Type Description globalIndex
number Returns:
Type Description epiviz.datatypes.GenomicData.ValueItem -
getRow(index){epiviz.datatypes.GenomicData.RowItem}
datatypes/measurement-genomic-data-array-wrapper.js, line 48 -
Name Type Description index
number Returns:
Type Description epiviz.datatypes.GenomicData.RowItem -
getRowByGlobalIndex(globalIndex){epiviz.datatypes.GenomicData.RowItem}
datatypes/measurement-genomic-data-array-wrapper.js, line 92 -
Name Type Description globalIndex
number Returns:
Type Description epiviz.datatypes.GenomicData.RowItem -
globalEndIndex(){number}
datatypes/measurement-genomic-data-array-wrapper.js, line 69 -
Returns:
Type Description number -
globalStartIndex(){number}
datatypes/measurement-genomic-data-array-wrapper.js, line 62 -
Returns:
Type Description number -
measurement(){epiviz.measurements.Measurement}
datatypes/measurement-genomic-data-array-wrapper.js, line 55 -
Returns:
Type Description epiviz.measurements.Measurement -
size(){number}
datatypes/measurement-genomic-data-array-wrapper.js, line 76 -
Returns:
Type Description number