Shians / Glimma

Glimma R package
GNU Lesser General Public License v3.0
50 stars 10 forks source link

Allow x-axis label rotation in expressions plot of MD plot #171

Open Shians opened 5 years ago

Shians commented 5 years ago

glMDPlot() currently struggles with text readability when there are many groups. This is common in single cell data. Intermediate strategy is to abbreviate the group names. Long term it would be useful to allow rotated labels.

This fixes text by the top-right corner and rotates anti-clockwise. The goal is to have 90° rotation be such that the label text is in the same orientation as the y-axis label.

Problems with immediate implementation:

Preferable to adjust SVG size, will need to expand by appropriate amount as calculated by the furthest downward reaching tick label.

Restrict to height expansion only.