rlbarter / superheat

An r package for generating beautiful and customizable heatmaps
https://rlbarter.github.io/superheat/
235 stars 29 forks source link

Cannot change font size on adjacent plot #53

Open ghost opened 4 years ago

ghost commented 4 years ago

Example data, My plot output, and RCode

ghost commented 4 years ago

Code related to yr:

            yr=as.numeric(tmp.g$group.number), # tmp.g$group.name doesn't work!
            yr.axis.name = "",
            yr.point.size = 10,
            yr.obs.col = rep("wheat3", nrow(tmp.g)),
            yr.breaks = c(0, 1, 2, 3, 4),
            yr.break.labels = c("A", "B", "C", "D", "E"),
            yr.axis.size=16, 
            yr.axis.name.size=16,

But no luck :(

ghost commented 4 years ago

Also, is there a way to position the legend at 0,0 (the empty corner where the bottom labels and left labels intersect)?

rlbarter commented 4 years ago

Hey thanks a lot for filing an issue!

To help me out a little would you be able to simplify your example so I can just run the code without having to download any data (e.g. define some super simple toy data and only provide the minimum code required to reproduce the issue)?

Sadly I'm fairly busy right now and superheat isn't one of my top priorities- so making it really easy for me to help you makes it a lot more likely that I will be able to squeeze it in :).

Rebecca

rlbarter commented 4 years ago

Here is a post on creating a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example that might be helpful!