Class SequenceTrack
Defined in: SequenceTrack.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SequenceTrack(config, refSeq, browserParams)
Track to display the underlying reference sequence, when zoomed in
far enough.
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
endZoom(destScale, destBlockBases)
|
|
fillBlock(blockIndex, block, leftBlock, rightBlock, leftBase, rightBase, scale, stripeWidth, containerStart, containerEnd)
|
|
renderSeqDiv(start, end, seq)
|
|
setViewInfo(genomeView, numBlocks, trackDiv, labelDiv, widthPct, widthPx, scale)
|
|
startZoom(destScale, destStart, destEnd)
|
Class Detail
SequenceTrack(config, refSeq, browserParams)
Track to display the underlying reference sequence, when zoomed in
far enough.
- Parameters:
- {Object} config
- key: display text track name label: internal track name (no spaces or odd characters) urlTemplate: url of directory in which to find the sequence chunks chunkSize: size of sequence chunks, in characters
- {Object} refSeq
- start: refseq start end: refseq end name: refseq name
- {Object} browserParams
- changeCallback: function to call once JSON is loaded trackPadding: distance in px between tracks charWidth: width, in pixels, of sequence base characters seqHeight: height, in pixels, of sequence elements
Field Detail
complement
Method Detail
endZoom(destScale, destBlockBases)
- Parameters:
- destScale
- destBlockBases
fillBlock(blockIndex, block, leftBlock, rightBlock, leftBase, rightBase, scale, stripeWidth, containerStart, containerEnd)
- Parameters:
- blockIndex
- block
- leftBlock
- rightBlock
- leftBase
- rightBase
- scale
- stripeWidth
- containerStart
- containerEnd
renderSeqDiv(start, end, seq)
- Parameters:
- start
- end
- seq
setViewInfo(genomeView, numBlocks, trackDiv, labelDiv, widthPct, widthPx, scale)
- Parameters:
- genomeView
- numBlocks
- trackDiv
- labelDiv
- widthPct
- widthPx
- scale
startZoom(destScale, destStart, destEnd)
- Parameters:
- destScale
- destStart
- destEnd