Hi Brent,

You can display the negative data in another color using the altColor 
attribute in the track line (e.g. altColor=0,100,200). For more 
information about bedgraph custom tracks, see 
http://genome.ucsc.edu/goldenPath/help/bedgraph.html.

Please contact the mail list ([email protected]) again if you have any 
further questions.

Katrina Learned
UCSC Genome Bioinformatics Group


On 10/28/11 2:22 PM, Brent Pedersen wrote:
> Hi, I have some data like this:
>
> track type=bedGraph graphType=bar viewLimits=-5:5 yLineMark=0
> yLineOnOff=on smoothingWindow=off color=255,0,0 autoScale=off
> visibility=full alwaysZero=on maxHeightPixels=128:64:32
> chr1    795231        795282  0.0430635861558
> chr1    795273        795324  2.2134615195
> chr1  795309  795360  0.0834407806989
> chr1  795375  795426  1.0025699262
>
> chr1   795231 795282  -0.638461028731
> chr1   795273 795324  -1.02383349987
> chr1   795309 795360  -2.30962669308
> chr1   795375 795426  -2.18862610295
>
> I'd like to be able to display the latter data in a different color.
> Is there a way to do this with bedgraph?
> If I add 'track color=0,0,255' in the blank line, it doesn't render
> the positive data at the top.
> thanks for any ideas.
> -Brent
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to