ShellyCoder / cellcall

inferring cell-cell communication from scRNA-seq of ligand-receptor
73 stars 20 forks source link

Image alignment in getGSEAplot #31

Open QuinceyLv opened 2 years ago

QuinceyLv commented 2 years ago

Hi, I was using getGSEAplot with my data and encountered a warning: "Graphs cannot be vertically aligned unless the axis parameter is set. Placing graphs unaligned." and the output was like this: gsea_unaligned Then I checked myGSEAplot.R, changed https://github.com/ShellyCoder/cellcall/blob/7a778fc7dae2cfa910ef21bc4355122f73f3a5a4/R/myGSEAplot.R#L143 to : plot_grid(plotlist = plotlist, ncol = 1, align="v", axis = 'tblr', rel_heights = rel_heights) and it worked. gsea_aligned Hope to fix this.

ShellyCoder commented 1 year ago

Thanks for your excellent contribution!