-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoplot of GatingHierarchy creates spurious empty plot #101
Comments
This will give you single image
|
Thanks for the workaround. Is it possible that autoplot can be modified to not create a blank page for gatingHierarchy? I am mapping autoplot across a list of flowSets and gatingSets and returning the collected combined results to calling function which is the printing/rendering them to a png. At that point it is too late the perform the workaround adjustments you propose. |
I don't see your point. Either you can modify your code and redo the autoplots, either you already got png and process them. Depending on your code, I would try to write an autoplot function that may have precedence over the ggcyto autoplot.
|
Thanks. I'm taking your suggestion. I'd already been shadowing autoplot. I've modified my efforts as you suggest, resulting in:
|
I think I perhaps closed this prematurely. I am reminded now that @SamGG - again thanks for your suggestion, but, the point I was trying to make earlier still applies. Let me try and make it better. Your proposed solution, which I have tried to take, actually renders (with grid::grid.draw) the TableGrob (created with ggcyto_arrange) within the call to autoplot. This is precisely what i am trying to avoid. I am trying to render the plot once only, in a different context than the call to autoplot, using print. I think I can demonstrate the issue using the package's own examples quite clearly:
I'm not sure whether I should expect this issue to be addressed since it is so longstanding and perhaps is it inadvisable to depend upon autoplot magic to do the right thing. If so, I'd suggest it getting re-closed with "won't fix". ?? 🙃 |
Executing the following produces two plots in the pwd, Rplot001.png and Rplot002.png
The first plot is blank.
I expect only the second plot should be created.
using
The text was updated successfully, but these errors were encountered: