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 want to push all these features to pachwork, since ggalign focus on plot which need reorder the axis like dendrogram (we need reorder the data before using patchwork to compose the plot). See the column names of the heatmap (they are reordered to match the dendrogram):
I have modified the patchwork process to let user add their classes for alignment instead of using
is_valid_plot
:patchwork/R/wrap_plots.R
Line 58 in 6d14415
What the developer should do is to add
alignpatch
method (If necessary, we can define the detail behaviour with a subclass ofPatch
which is aggproto
class): https://github.com/Yunuuuu/ggalign/blob/01f6063311313e5dff76e34ea77e92f5e2cffbb1/R/alignpatch-.R#L146Now, I have added methods for my own classes (two
Layout
) in ggalign, classes from ComplexHeatmap, andpatchwork
class.Created on 2024-09-14 with reprex v2.1.0
~
The text was updated successfully, but these errors were encountered: