Hi @Mark_Sandwich , good job. However, with complex functions like this, where you have functions embedded within other functions, it is often easier to figure out what’s going on by saving the plots individually. Then, after you know each plot works on it’s own, combine the plots with plot_grid or some other plot combining function. It’s also easier to understand when you look at it later, or when you show it to somebody else. Here’s an example:
I was able to get all 6 genes I was looking at on one plot_grid aligned to two columns by adding ncol = 2,.
I’m wondering if it’s possible to make the images larger and not stretched? The titles for Wnt6 and Wnt10a are cropped off of the top too.
Oops, I think I sent the wrong screenshot maybe this one will work.
Hi @Mark_Sandwich , nice job. How are you saving the plot? One way to do this is to run the code in the console, then save the plot from the bottom right hand corner in Rstudio. That way you can adjust the width and height to your liking.
My R-Studio crashed, and I can’t use Wnt1 and Wnt10b in any of my graphs. Instead of a regular Umap, I get the blanked-out ones as seen on the bottom. I also can’t run it in the console anymore either. Oh I also made no changes to the code either, so I’m pretty sure something messed up when R-Studio crashed.