ivanek / Gviz

This is the Gviz development repository. Gviz plots data and annotation information along genomic coordinates.
https://bioconductor.org/packages/Gviz/
Artistic License 2.0
75 stars 10 forks source link

request for GenomeAxisTrack: add "bp" to small scale bars #50

Open jayoung opened 3 years ago

jayoung commented 3 years ago

hi again,

I'm enjoying using Gviz - thanks for all your hard work on it.

I'm using code similar to GenomeAxisTrack(scale=0.5) to create a very simple scale bar.

When the scale bar ends up with size >=1kb, the label includes "kb". But when the scale bar is <1kb, the label is simply a number with no unit (in Gviz v1.36.2). Would it be easy to add "bp" to the label, just like "kb" gets added? That would be very nice from an end-user perspective.

thanks!

Janet