I ran into some cosmetic issues exporting SVG/PNG from a horizontal-transcripts track, where the appearance of the background and label in the SVG output did not match the rendered HiGlass track.
For example, here is a view that shows the transcripts track in the browser (roughly):
When exported to SVG or PNG, the output would have the following appearance, which is somewhat different from the browser view:
I added some code to fix this, as well as some additional track options to give more strand-specific control over the label appearance (e.g., to color forward- and reverse-stranded annotation label text and parent elements differently). Default color options are set so as to mimic to the current track appearance (within the browser). I updated the README to reflect these additions.
I ran into some cosmetic issues exporting SVG/PNG from a
horizontal-transcripts
track, where the appearance of the background and label in the SVG output did not match the rendered HiGlass track.For example, here is a view that shows the transcripts track in the browser (roughly):
When exported to SVG or PNG, the output would have the following appearance, which is somewhat different from the browser view:
I added some code to fix this, as well as some additional track options to give more strand-specific control over the label appearance (e.g., to color forward- and reverse-stranded annotation label text and parent elements differently). Default color options are set so as to mimic to the current track appearance (within the browser). I updated the
README
to reflect these additions.