Class: GenomicArray

GenomicArray

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

datatypes/genomic-array.js, line 16
Name Type Description
measurement epiviz.measurements.Measurement
boundaries epiviz.datatypes.GenomicRange
globalStartIndex number
values *

Members

protected_values*

Methods

boundaries(){epiviz.datatypes.GenomicRange}

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

concatValues(second, secondIndex){*}

datatypes/genomic-array.js, line 85
Name Type Description
second epiviz.datatypes.GenomicArray
secondIndex number
Returns:
Type Description
*

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

get(index){*}

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

getByGlobalIndex(globalIndex){*}

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

globalStartIndex(){number}

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

measurement(){epiviz.measurements.Measurement}

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

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

size(){number}

datatypes/genomic-array.js, line 70
Returns:
Type Description
number
comments powered by Disqus