projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HACKISH: Display chipseq peak window track
[mussa.git]
/
alg
/
glseqbrowser.cpp
diff --git
a/alg/glseqbrowser.cpp
b/alg/glseqbrowser.cpp
index df9462618b119f56c704a234a059d184ef2c8a4a..d3cd24ec376ca49f06d927d793bcc22f6775a00d 100644
(file)
--- a/
alg/glseqbrowser.cpp
+++ b/
alg/glseqbrowser.cpp
@@
-360,8
+360,12
@@
void GlSeqBrowser::push_sequence(GlSequence gs)
void GlSeqBrowser::push_sequence(GlSequenceRef gs)
{
ColorRef default_color(GlSequence::default_gene_color());
void GlSeqBrowser::push_sequence(GlSequenceRef gs)
{
ColorRef default_color(GlSequence::default_gene_color());
+ ColorRef default_chipseq_color(GlSequence::default_chipseq_color());
GlSequenceRef new_gs(new GlSequence(gs));
new_gs->update_annotation_draw_function("gene", draw_narrow_track, default_color);
GlSequenceRef new_gs(new GlSequence(gs));
new_gs->update_annotation_draw_function("gene", draw_narrow_track, default_color);
+ new_gs->update_annotation_draw_function("chipseq_peak_window",
+ draw_chipseq_window,
+ default_chipseq_color);
// mark where the sequence is
new_gs->add_annotations_for_defined_sequence(draw_summarized_track);
// mark where the sequence is
new_gs->add_annotations_for_defined_sequence(draw_summarized_track);