CategoricalMatrix

From wubrowse wiki
Revision as of 15:11, 18 August 2014 by Xzhou (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Categorical Matrix is a map or two dimensional matrix. The columns of the matrix are regions of the chromosome. The matrix represents a number of rows stacked on the genome. Each cell has a value of one integer, as category id.

The categorical matrix track is rendered as a 2-D colormap, with the color of each cell defined by its category.

Example track definition in datahub:

{type:'categoryMatrix',
name:'catmat test',
rowcount:127,
rowheight:2,
url:'http://xx/catmat.gz',
mode:'show',
categories:{
          '1':['Active TSS','#ff0000'],
          '2':['Flanking Active TSS','#ff4500'],
          '3':['Transcr at gene 5\' and 3\'','#32cd32'],
          '4':['Strong transcription','#008000'],
          '5':['Weak transcription','#006400'],
          '6':['Genic enhancers','#c2e105'],
          '7':['Enhancers','#ffff00'],
          '8':['ZNF genes & repeats','#66cdaa'],
          '9':['Heterochromatin','#8a91d0'],
          '10':['Bivalent/Poised TSS','#cd5c5c'],
          '11':['Flanking Bivalent TSS/Enh','#e9967a'],
          '12':['Bivalent Enhancer','#bdb76b'],
          '13':['Repressed PolyComb','#808080'],
          '14':['Weak Repressed PolyComb','#c0c0c0'],
          '15':['Quiescent/Low','#ffffff']
	},
},