[Genome] support for useScore with itemRgb

Hiram Clawson hiram at soe.ucsc.edu
Wed Mar 23 11:35:25 PST 2005


Vince:

You will have to apply the color scheme yourself based
on your score.  You do not want to get extravagant
with the use of colors.  8 colors is the recommended
limit for a single track.  See also, sample palette's:
	http://genome-test.cse.ucsc.edu/admin/rgbItemExamples.html

An 8-way case statement in your favorite scripting language
should be able to set the rgbItem colum from the score.

--Hiram

Vince Forgetta wrote:
> Hi Hiram,
> 
> Thanks for the quick response and the new track functionality. Having 
> different colors is very helpful. I was trying to apply shading to the 
> track items, and use itemRgb to have different colors, eg:
> 
> track name='test' description='test_desc' color=0,60,120 useScore=1 
> itemRgb="on"   chr19    55124622    55124722    test1    378    +    
> 55124622    55124622    0,0,255
> chr19    55124804    55124904    test2   500    +    55124804    
> 55124804    0,255,0
> chr19    55124592    55124692    test3    200    +    55124592    
> 55124592    255,0,0
> 
> is this possible?
> 
> Vince
> Hiram Clawson wrote:
> 
>> Good Morning Vince:
>>
>> I believe the use of the itemRgb notation is mutually exclusive
>> with the useScore.  If you have placed r,g,b values on the bed
>> item, that is its color regardless of its score.
>>
>> What are you trying to do ?  What information do you have on
>> using the itemRgb notation ?  I don't think we have fully documented
>> that feature yet.
>>
>> --Hiram
>>
>> Vince Forgetta wrote:
>>
>>> Hi all,
>>>
>>> Is useScore supported when using itemRgb? Or are black and brown the 
>>> only colors I can use with useScore ?
>>>
>>> Thanks.
>>>
>>> Vince
>>>
>>
>>
> 
> 



More information about the Genome mailing list