Closed AMCalejandro closed 1 year ago
It is expected, it's simply an artefact of the method that was used to save them.
That said, I've been working on updating the code to merge plots in other function like this with patchwork
, so I'll see if I can implement something like this here as well.
Now implemented in MAGMA.Celltyping v2.0.8:
New argument bind_plots
(default=TRUE) will merge and align the two subplots together.
res <- MAGMA.Celltyping::enrichment_results[[1]]
results <- res$ctAssocMerged$level1$results
ctd <- ewceData::ctd()
tile_res <- magma_tileplot(ctd=ctd, results=results)
1. Bug description
So, I was expecting to find the dendrogram toegether with the heatmap. Instead, I get the dendrogram and instogram as separate elements of an object. Was this the expected behaviour? If so, it might be useful to add in the vignette some code example to overlap
Console output
Expected behaviour
(A clear and concise description of what you expected to happen.)
2. Reproducible example
Code
(Please add the steps to reproduce the bug here. See here for an intro to making a reproducible example (i.e. reprex) and why they're important! This will help us to help you much faster.)
Data
3. Session info
(Add output of the R function
utils::sessionInfo()
below. This helps us assess version/OS conflicts which could be causing bugs.)