- Source:
Classes
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:
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:
getByGlobalIndex(m, globalIndex) → {epiviz.datatypes.GenomicData.ValueItem}
Parameters:
Name | Type | Description |
---|---|---|
m |
epiviz.measurements.Measurement | |
globalIndex |
number |
- Source:
Returns:
getRow(m, i) → {epiviz.datatypes.GenomicData.RowItem}
Parameters:
Name | Type | Description |
---|---|---|
m |
epiviz.measurements.Measurement | |
i |
number |
- Source:
Returns:
getRowByGlobalIndex(m, globalIndex) → {epiviz.datatypes.GenomicData.RowItem}
Parameters:
Name | Type | Description |
---|---|---|
m |
epiviz.measurements.Measurement | |
globalIndex |
number |
- Source:
Returns:
getSeries(m) → {epiviz.datatypes.MeasurementGenomicData}
Parameters:
Name | Type | Description |
---|---|---|
m |
epiviz.measurements.Measurement |
- Source:
Returns:
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