MontgomeryLab / tinyRNA

tinyRNA provides an all-in-one solution for precision analysis of sRNA-seq data. At the core of tinyRNA is a highly flexible counting utility, tiny-count, that allows for hierarchical assignment of reads to features based on positional information, extent of feature overlap, 5’ nucleotide, length, and strandedness.
GNU General Public License v3.0
1 stars 1 forks source link

tiny-plot: sanity improvements in scatter plot tick labels #269

Closed AlexTate closed 1 year ago

AlexTate commented 1 year ago

The routine for placing scatter plot tick labels is now more robust when the plotted range is very small or very large. "Every other n" label placement now adjusts to the plot window rather than being a fixed n = 3. Labels are no longer suppressed at the origin; this was originally done when we were using exponent labels which are much wider. Labels at the upper end of the axis are placed more liberally. All in all, these changes produce tick labels with more comfortable density under a wider range of plot window sizes.

This is demonstrated in the animation below, which uses a rolling expanding window: sane_ticks_2_small

Closes #265

taimontgomery commented 1 year ago

Tested successfully with ram1 and Lib303 datasets.