Class: FeatureValueArray

FeatureValueArray

new epiviz.datatypes.FeatureValueArray(measurement, boundaries, globalStartIndex, values)

datatypes/feature-value-array.js, line 17
Name Type Description
measurement epiviz.measurements.Measurement
boundaries epiviz.datatypes.GenomicRange
globalStartIndex number
values Array.<number> | Object.<string, Array.<*>>

Extends

Members

protected_values*

Methods

inherited boundaries(){epiviz.datatypes.GenomicRange}

datatypes/genomic-array.js, line 45
Returns:
Type Description
epiviz.datatypes.GenomicRange

concatValues(second, secondIndex){Array.<number>|Object.<string, *>}

datatypes/feature-value-array.js, line 91
Name Type Description
second epiviz.datatypes.FeatureValueArray
secondIndex number
Returns:
Type Description
Array.<number> | Object.<string, *>

inherited createNew(measurement, boundaries, globalStartIndex, values){epiviz.datatypes.GenomicArray}

datatypes/genomic-array.js, line 95

Factory method

.

Factory method

Name Type Description
measurement epiviz.measurements.Measurement
boundaries epiviz.datatypes.GenomicRange
globalStartIndex number
values *
Returns:
Type Description
epiviz.datatypes.GenomicArray

inherited get(index){*}

datatypes/genomic-array.js, line 65
Name Type Description
index number
Returns:
Type Description
*

getAnnotation(index){Object.<string, *>}

datatypes/feature-value-array.js, line 68
Name Type Description
index
Returns:
Type Description
Object.<string, *>

inherited getByGlobalIndex(globalIndex){*}

datatypes/genomic-array.js, line 76
Name Type Description
globalIndex number
Returns:
Type Description
*

inherited globalStartIndex(){number}

datatypes/genomic-array.js, line 50
Returns:
Type Description
number

inherited measurement(){epiviz.measurements.Measurement}

datatypes/genomic-array.js, line 57
Returns:
Type Description
epiviz.measurements.Measurement

inherited merge(arr){epiviz.datatypes.GenomicArray}

datatypes/genomic-array.js, line 103

Merges two genomic arrays together by global index, eliminating common rows (where indices match) IMPORTANT: This method fails if the given arrays are not overlapping or in continuation of one another

.

Merges two genomic arrays together by global index, eliminating common rows (where indices match) IMPORTANT: This method fails if the given arrays are not overlapping or in continuation of one another

Name Type Description
arr epiviz.datatypes.GenomicArray
Returns:
Type Description
epiviz.datatypes.GenomicArray

inherited size(){number}

datatypes/genomic-array.js, line 70
Returns:
Type Description
number

toString(){string}

datatypes/feature-value-array.js, line 138
Returns:
Type Description
string

trim(range, globalStartIndex, length){epiviz.datatypes.FeatureValueArray}

datatypes/feature-value-array.js, line 111
Name Type Description
range epiviz.datatypes.GenomicRange
globalStartIndex number
length number
Returns:
Type Description
epiviz.datatypes.FeatureValueArray
comments powered by Disqus