You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error occurs in the call to legend. plot.oncosimul does not use legend for anything, but passes it to other functions (via "...").
There are actually two issues:
The error
That we cannot prevent the legend from being shown. Arguably, this is a feature, not a bug? I mean, what use is the plot if one cannot tell what the things being plotted are?
MRE:
The error occurs in the call to
legend
.plot.oncosimul
does not uselegend
for anything, but passes it to other functions (via "...").There are actually two issues:
But then, we should allow users to modify, for example, the font size so as to minimize overlap with plot stuff. The workaround for now is to play with legend.ncols and the y and maybe x axis range (this is also used in the vignette (https://rdiaz02.github.io/OncoSimul/OncoSimulR.html#655_Simulation_with_order_effects_and_McFL_model)
That workaround really works if we ask for
type = "line"
. Just need to be aware of the scale of the y axis!(Issue originally reported by Deyanira Borroto Alburquerque, from PRSTR class 2024-25).
The text was updated successfully, but these errors were encountered: