Class: GenomicRangeArray

GenomicRangeArray

new epiviz.datatypes.GenomicRangeArray(measurement, boundaries, globalStartIndex, values, useOffset)

datatypes/genomic-range-array.js, line 19
Name Type Description
measurement epiviz.measurements.Measurement
boundaries epiviz.datatypes.GenomicRange
globalStartIndex number
values Object
useOffset boolean optional

True if the values are compressed and false/undefined/null otherwise

Extends

Classes

RowItemWrapper

Members

protected_values*

Methods

inherited boundaries(){epiviz.datatypes.GenomicRange}

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

concatValues(second, secondIndex){Object}

datatypes/genomic-range-array.js, line 123
Name Type Description
second epiviz.datatypes.GenomicRangeArray
secondIndex number
Returns:
Type Description
Object

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

end(index){number}

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

foreach(func)

datatypes/genomic-range-array.js, line 220

Iterates through all genomic ranges until func returns something that evaluates to true

.

Iterates through all genomic ranges until func returns something that evaluates to true

Name Type Description
func function

inherited get(index){*}

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

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

id(index){string}

datatypes/genomic-range-array.js, line 242
Name Type Description
index number
Returns:
Type Description
string

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

metadata(column, index){*}

datatypes/genomic-range-array.js, line 275
Name Type Description
column string
index number
Returns:
Type Description
*

metadataColumns(){Array.<string>}

datatypes/genomic-range-array.js, line 230
Returns:
Type Description
Array.<string> the names of the metadata columns associated with the epiviz.datatypes.GenomicRangeArray instance

ranges(){epiviz.datatypes.GenomicRangeArray}

datatypes/genomic-range-array.js, line 214
Returns:
Type Description
epiviz.datatypes.GenomicRangeArray

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

datatypes/genomic-range-array.js, line 284
Name Type Description
index number
Returns:
Type Description
Object.<string, *>

inherited size(){number}

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

start(index){number}

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

strand(index){string}

datatypes/genomic-range-array.js, line 266
Name Type Description
index number
Returns:
Type Description
string

toString(){string}

datatypes/genomic-range-array.js, line 297
Returns:
Type Description
string

trim(range){epiviz.datatypes.GenomicRangeArray}

datatypes/genomic-range-array.js, line 159
Name Type Description
range epiviz.datatypes.GenomicRange
Returns:
Type Description
epiviz.datatypes.GenomicRangeArray
comments powered by Disqus