Closed ChristinaSchmidt1 closed 1 year ago
Also:
Ok I have made some progress here and finally understodd the syntax of the ggplot margins. I have already added in some functionality for the Volcano plots and it is really neat. I am thinking of starting to move some things from the functions into helper functions as they become quite long.
Done for PCA and Volcano plot! One thing to potenntially improve here is: If the Figure title/subtitle is too long it is cut off. So I will try to figure out how to translate the number of characters (with spaces) would translate into cm on the plot.
Done for Heatmap. I found a way to extract the gtable object and was able to proceed similar to Volcano/PCA.
Fixed the cutoff of the figure title subtitle.
New issue I saw: If we change the theme in e.g. volcano plot it doesnt save the plot that nicely anymore especially when having large figure legends. Also the legend label is added and it passes on the whole set of parameters.
I will close this as I have implemented all of this for the main Viz functions and submit now individual issues for the remaining Viz functions (lollipop and Bar) to adapt it there
For all the visualisation functions: