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
I've found that I can use ggcyto_arrange() and gridExtra as a workaround when applying autoplot() to GatingHierarchy objects. For example, when wishing to view multiple gates across all samples in a GatingSet.
However, I can't use this approach when applying autoplot() to flowFrame objects (e.g. when replicating the 1D and 2D gating plots in the auto gating demo).
From what I can tell, this is because ggcyto_arrange() requires a ggcyto_GatingLayout, which autoplot() returns when applied to a GatingSet but not when applied to a flowFrame.
Would it be possible to make the return type of autoplot() consistent across inputs? And is there a straightforward way to cast a list of ggcyto_flowSet objects to ggcyto_GatingLayout? I thought supporting patchwork might be the easiest way to support this kind of figure composition in the long run, but I'm happy to continue using the gridExtra workaround until it can be implemented.
Thanks!
Matt
The text was updated successfully, but these errors were encountered:
Hi,
Would it be possible to support composing figures produced via
autoplot()
with patchwork?Currently, attempting to combine figures results in the following error:
I've found that I can use
ggcyto_arrange()
andgridExtra
as a workaround when applyingautoplot()
toGatingHierarchy
objects. For example, when wishing to view multiple gates across all samples in aGatingSet
.However, I can't use this approach when applying
autoplot()
toflowFrame
objects (e.g. when replicating the 1D and 2D gating plots in the auto gating demo).From what I can tell, this is because
ggcyto_arrange()
requires aggcyto_GatingLayout
, whichautoplot()
returns when applied to aGatingSet
but not when applied to aflowFrame
.Would it be possible to make the return type of
autoplot()
consistent across inputs? And is there a straightforward way to cast a list ofggcyto_flowSet
objects toggcyto_GatingLayout
? I thought supporting patchwork might be the easiest way to support this kind of figure composition in the long run, but I'm happy to continue using thegridExtra
workaround until it can be implemented.Thanks!
Matt
The text was updated successfully, but these errors were encountered: