Open pseudacriscrucifer opened 1 year ago
Hello, I had this same error. What worked for me was to use gridExtra::grid.arrange(grobs = list(umap1, gggr), ncol = 2) where, in your case, umap1 <- Dimplot(ddata_3tf, reduction = "umap", repel = TRUE, label = TRUE, cols = colss)
Hello,
Following the tutorial and using brain tissue data:
scater::multiplot(DimPlot(ddata_3tf, reduction = "umap", repel = TRUE, label = TRUE, cols = ccolss), gggr, cols = 2)
error returned in bubble plot viz ofmultiplot
being defunct:Error: 'multiplot' is defunct. Use 'scater::multiplot is defunct. Use 'gridExtra::grid.arrange' instead' instead. See help("Defunct")
How would I properly incorporate scater::multiplot parameters into gridExtra::grid.arrange()?
Trying
gridExtra::grid.arrange(DimPlot(ddata_3tf, reduction = "umap", repel = TRUE, label = TRUE, cols = ccolss), gggr, cols = 2)
returns the error of "Error in gList(...) : only 'grobs' allowed in "gList"".Here is the error traceback too: