Hi Yu, Currently, custom tracks will display either itemRgb or useScore notation but not both (see https://lists.soe.ucsc.edu/pipermail/genome/2005-March/006980.html). We recommend that you instead individually assign a RGB value for each item based on its score and then, similar to the example described here http://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#BED, use the itemRgb="On" to display this color.
I hope this information is helpful. Please feel free to contact the mail list again if you require further assistance. Best, Mary ------------------ Mary Goldman UCSC Bioinformatics Group On 5/14/10 1:13 AM, Yuan Jian wrote: > Hi UCSC genome browser, > > in custom track, I want to show two things for a probe according its value. > (1) if the value< 0 the probe is shown Red, otherwise Blue. (2) if the value > is big, the probe is dark color (Red or Blue), otherwise, lighter color. but > I made a lot of effects, but (2) is not work (no level of color). here is my > data: > > track name=test description="test" useScore=1 itemRgb="On" visibility=full > chr1 554267 554327 A_14_P112718 10 + 554267 554327 > 255,0,0 1 60, 0, > chr1 554286 554346 A_16_P15000916 5000 + 554286 554346 > 0,0,255 1 60, 0, > chr1 639580 639640 A_16_P15001074 800 + 639580 639640 > 0,0,0 1 60, 0, > chr1 736482 736542 A_16_P00000012 500 + 736482 736542 > 0,0,0 1 60, 0, > > thanks > YU > > > > > > > _______________________________________________ > Genome maillist - [email protected] > https://lists.soe.ucsc.edu/mailman/listinfo/genome > _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
