[Genome] custom coloring a bedGraph track?
Ann Zweig
ann at soe.ucsc.edu
Fri Aug 3 11:41:34 PDT 2007
Hello Ginger,
First let me apologize for taking so long to answer your question;
somehow it must have fallen through the cracks and I am sorry. I hope
by now you have found the answer or a suitable work-around, but in case
you haven't let me answer here.
You can color elements in a bedGraph track based on the score value
(but not, as you have shown below) based on a separate field. What you
can do is choose the color scheme, then ask that the elements be shaded
in that color scheme based on their score (or dataValue). Perhaps this
will be useful to you.
You can read about how to enable this coloring in "Example 3" on this
page:
http://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#CustomTracks
Please let us know if you have more questions.
Regards,
----------
Ann Zweig
UCSC Genome Bioinformatics Group
http://genome.ucsc.edu
Ginger Cheng wrote:
> Hello, Browser Gurus,
>
> Just wondering if there is any quick way to color a bedGraph track based
> on a field of the data table. So it would be sth like
>
> chrom | chromStart | chromEnd | dataValue | color
>
> | chr1 | 16190712 | 16190763 | -0.548 | red
> | chr1 | 16190782 | 16190803 | -0.001 | gray
>
>
> THank you for any help in advance
>
More information about the Genome
mailing list