Hi-C track configuration
Example Hi-C track config:
{
"type": "HicTrack",
"trackId": "hic",
"name": "HiC Track",
"assemblyNames": ["hg19"],
"adapter": {
"type": "HicAdapter",
"hicLocation": {
"uri": "https://s3.amazonaws.com/igv.broadinstitute.org/data/hic/intra_nofrag_30.hic",
"locationType": "UriLocation"
}
}
}
HicAdapter config
The HicAdapter currently only requires a hicLocation:
{
"type": "HicAdapter",
"hicLocation": {
"uri": "https://s3.amazonaws.com/igv.broadinstitute.org/data/hic/intra_nofrag_30.hic",
"locationType": "UriLocation"
}
}
A reduced form is also accepted:
{
"type": "HicAdapter",
"uri": "https://s3.amazonaws.com/igv.broadinstitute.org/data/hic/intra_nofrag_30.hic"
}
HicRenderer config
baseColor- the base color of the Hi-C plot (default#f00). Change to e.g.#00ffor blue shadingcolor- a color callback that maps a contact count to a rendered color. The default isjexl:interpolate(count,scale), wherecountis the contact count for the block,maxScoreis the maximum count in the current view,baseColoris the configured base color, andscaleis a pre-built interpolator from white tobaseColor(see configSchema.ts for the current defaults)